datatracker/ietf/templates/liaisons/detail_history.html
2016-12-15 13:14:16 +00:00

51 lines
1.5 KiB
HTML

{% extends "base.html" %}
{% load ietf_filters staticfiles %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
{% endblock %}
{% block title %}History for Liaison Statement - {{ liaison.title }}{% endblock %}
{% block content %}
<h1>History for Liaison Statement<br><small>{{ liaison.title }}</small></h1>
{% include "liaisons/detail_tabs.html" %}
{% if user|has_role:"Area Director,Secretariat,IANA,RFC Editor" %}
<p class="buttonlist">
<a class="btn btn-default" href="{% url "ietf.liaisons.views.add_comment" object_id=liaison.id %}" title="Add comment to history">Add comment</a>
</p>
{% endif %}
<table class="table table-condensed table-striped history tablesorter">
<thead>
<tr>
<th>Date</th>
<th>Type</th>
<th>By</th>
<th>Text</th>
</tr>
</thead>
<tbody>
{% for e in events %}
<tr>
<td class="text-nowrap">{{ e.time|date:"Y-m-d" }}</td>
<td>{{ e.type }}
{% if e.response_due and e.response_past_due %}
<span class="glyphicon glyphicon-exclamation-sign" title="Response overdue"></span>
{% endif %}
</td>
<td>{{ e.by }}</td>
<td>{{ e.desc|format_history_text }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock content %}
{% block js %}
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
{% endblock %}