|
|
|
@ -5,17 +5,21 @@ |
|
|
|
<table class="table table-striped table-bordered"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th>{% trans 'Author' %}</th> |
|
|
|
<th>{% trans 'Recipients' %}</th> |
|
|
|
<th>{% trans 'Comment' %}</th> |
|
|
|
<th>{% trans 'State' %}</th> |
|
|
|
<th>{% trans 'Type' %}</th> |
|
|
|
<th>{% trans 'Date of make' %}</th> |
|
|
|
<th></th> |
|
|
|
<th class="col-sm-1">{% trans 'Author' %}</th> |
|
|
|
<th class="col-sm-2">{% trans 'Recipients' %}</th> |
|
|
|
<th class="col-sm-4">{% trans 'Comment' %}</th> |
|
|
|
<th class="col-sm-2">{% trans 'State' %}</th> |
|
|
|
<th class="col-sm-1">{% trans 'Type' %}</th> |
|
|
|
<th class="col-sm-2">{% trans 'Date of make' %}</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
{% for task in tasks %} |
|
|
|
<tr> |
|
|
|
<td class="text-center"><a href="{% url 'taskapp:edit' task.pk %}" class="btn btn-default" title="{% trans 'View' %}" data-toggle="tooltip"> |
|
|
|
<span class="glyphicon glyphicon-eye-open"></span> |
|
|
|
</a></td> |
|
|
|
<td><a href="{% url 'acc_app:other_profile' task.author.id %}">{{ task.author.get_short_name }}</a></td> |
|
|
|
<td> |
|
|
|
{% for rec in task.recipients.all %} |
|
|
|
@ -31,13 +35,13 @@ |
|
|
|
</tr> |
|
|
|
{% empty %} |
|
|
|
<tr> |
|
|
|
<td colspan="6">{% trans 'Tasks not found' %}</td> |
|
|
|
<td colspan="7">{% trans 'Tasks not found' %}</td> |
|
|
|
</tr> |
|
|
|
{% endfor %} |
|
|
|
</tbody> |
|
|
|
<tfoot> |
|
|
|
<tr> |
|
|
|
<td colspan="6"> |
|
|
|
<td colspan="7"> |
|
|
|
{% include 'taskapp/footer_btns.html' %} |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
|