35 lines
947 B
HTML
35 lines
947 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Список элементов</title>
|
|
</head>
|
|
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Название</th>
|
|
<th>Статус</th>
|
|
<th>Исполнитель</th>
|
|
<th>Дата создания</th>
|
|
<th>Крайний срок</th>
|
|
</tr>
|
|
{% for item in tasks %}
|
|
<tr>
|
|
<td>{{ item.id }}</td>
|
|
<td>
|
|
<a href="{{domain}}/workgroups/group/{{item.groupId}}/tasks/task/view/{{item.id}}/" target="_blank">
|
|
{{ item.title }}
|
|
</a>
|
|
</td>
|
|
<td>{{ item.status | format_status }}</td>
|
|
<td>{{ item.responsible.name }}</td>
|
|
<td>{{ item.createdDate | format_datetime }}</td>
|
|
<td>{{ item.deadline | format_datetime}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</body>
|
|
|
|
</html> |