{% extends "base_status.html" %} {% load url from future %} {% load i18n %} {% block title %}{{ contact_name }}{% endblock %} {% block smallheader %}{% trans "contact" %}{% endblock %} {% block largeheader %}{{ contact_name }} ({{ contact.alias }}){% endblock %} {% block nav1 %}{{ block.super }}{% endblock %} {% block nav2 %}{% trans "Contacts" %}{% endblock %} {% load adagiostags %} {% block content %}
{% if comments %} {% blocktrans %}Comments that mention {{ contact_name }}{% endblocktrans %} {% include "snippets/status_commentlist_snippet.html" %} {% else %} {% blocktrans %}{{ contact_name }} is not tagged in any current problems.{% endblocktrans %} {% endif %}
{% if log %} {% for line in log %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
{% trans "Time" %} {% trans "Type" %} {% trans "Message" %}
{{ line.time|timestamp|date:'Y-m-d H:i' }} {{ line.type }}
{{ line.options }}
{% else %} {% blocktrans %}{{ contact_name }} is not mentioned in any recent log entries.{% endblocktrans %} {% endif %}
{% if groups %} {% blocktrans %}{{ contact_name }} belongs to the following groups:{% endblocktrans %} {% for i in groups %} {% endfor %}
{{ i.name }} {{ i.alias }}
{% else %} {% blocktrans %}{{ contact_name }} does not belong to any groups.{% endblocktrans %} {% endif %}
{% if services %} {% blocktrans %}{{ contact_name }} is a contact for the following services:{% endblocktrans %} {% include "snippets/status_servicelist_snippet.html" %} {% else %} {% blocktrans %}{{ contact_name }} is not a contact for any services.{% endblocktrans %} {% endif %}
{% if gitlog %} {% blocktrans %}Git commits made by {{ contact_name }}{% endblocktrans %} {% for commit in gitlog %} {% if commit_id == commit.hash %} {% endif %} {% endfor %}
{% trans "Date" %} {% trans "Summary" %} {% trans "Name" %} {% trans "Email" %} {% trans "Actions" %}
{{ commit.timestamp|timestamp|date:'Y-m-d H:i'}} {{ commit.comment }} {{ commit.author_name }} {{ commit.author_email }} {% if commit_id != commit.hash %} diff {% else %} {% trans "hide" %} {% endif %}
                {{ diff }}
                
{% else %} {% blocktrans %}{{ contact_name }} has no commits in git log.{% endblocktrans %} {% endif %}

{% trans "Information available via livestatus:" %}

{% for k,v in contact.items %} {% endfor %}
{{ k }} {{ v }}
{% endblock %} {% block view_buttons %}{% endblock %} {% block action_buttons %}{% endblock %} {% block footer %} {{ block.super }} {% endblock %}