55 lines
1.2 KiB
HTML
55 lines
1.2 KiB
HTML
{% extends "cvkbrnobase.html" %}
|
|
{% load i18n %}
|
|
{% load staticfiles %}
|
|
{% load rowerfilters %}
|
|
|
|
{% block title %}{% trans "Members Work Admin" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="workouts" class="grid_6 alpha">
|
|
|
|
{% if form.errors %}
|
|
<p style="color: red;">
|
|
Please correct the error{{ form.errors|pluralize }} below.
|
|
</p>
|
|
{% endif %}
|
|
|
|
<h1>{% trans "Members Work Admin" %}</h1>
|
|
|
|
|
|
<div id="addboat" class="grid_2 suffix_4 alpha">
|
|
<p>
|
|
<a class="button green small" href="/cvkbrno/memberswork/add">{% trans "Add Members Work" %}</a>
|
|
</p>
|
|
</div>
|
|
|
|
{% if theworks %}
|
|
|
|
<table class="listtable" width=100%>
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans "Date" %}</th>
|
|
<th>{% trans "Name" %}</th>
|
|
<th>{% trans "Edit" %}</th>
|
|
<th>{% trans "Complete" %}</th>
|
|
<th>{% trans "Delete" %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for work in theworks %}
|
|
<tr>
|
|
<td>{{ work.date }}</td>
|
|
<td>{{ work.name }}</td>
|
|
<td><a href="/cvkbrno/memberswork/{{ work.id }}/edit">E</a></td>
|
|
<td><a href="/cvkbrno/memberswork/{{ work.id }}/complete">C</a></td>
|
|
<td><a href="/cvkbrno/memberswork/{{ work.id }}/delete">D</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
<tbody>
|
|
</table>
|
|
|
|
{% endif %}
|
|
{% csrf_token %}
|
|
</div>
|
|
|
|
{% endblock %} |