{% 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 %}
{% trans "Time" %} |
{% trans "Type" %} |
|
{% trans "Message" %} |
{% for line in log %}
{% ifchanged line.time|timestamp|date:"Y-m-d" %}
{% endifchanged %}
{{ line.time|timestamp|date:'Y-m-d H:i' }} |
{{ line.type }} |
|
{{ line.options }} |
{% endfor %}
{% else %}
{% blocktrans %}{{ contact_name }} is not mentioned in any recent log entries.{% 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 %}
{% trans "Date" %} |
{% trans "Summary" %} |
{% trans "Name" %} |
{% trans "Email" %} |
{% trans "Actions" %} |
{% for commit in gitlog %}
{{ 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 %}
|
{% if commit_id == commit.hash %}
{{ diff }}
|
{% endif %}
{% endfor %}
{% else %}
{% blocktrans %}{{ contact_name }} has no commits in git log.{% endblocktrans %}
{% endif %}
{% trans "Information available via livestatus:" %}
{% for k,v in contact.items %}
{{ k }}
|
{{ v }}
|
{% endfor %}
{% endblock %}
{% block view_buttons %}{% endblock %}
{% block action_buttons %}{% endblock %}
{% block footer %} {{ block.super }} {% endblock %}