Uploading files
This commit is contained in:
48
cvkbrno/templates/cvkbrno_outing_admin.html
Normal file
48
cvkbrno/templates/cvkbrno_outing_admin.html
Normal file
@@ -0,0 +1,48 @@
|
||||
{% extends "cvkbrnobase.html" %}
|
||||
{% load i18n %}
|
||||
{% load staticfiles %}
|
||||
{% load rowerfilters %}
|
||||
{% load filter %}
|
||||
{% load tz %}
|
||||
|
||||
{% block title %}{% trans "View Outing" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% localtime on %}
|
||||
<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 "View Outing" %}</h1>
|
||||
|
||||
<table width=100%>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>{% trans "Start" %}</th><td>{{ outing.starttime }}</td>
|
||||
</tr><tr>
|
||||
<th>{% trans "End" %}</th><td>{{ outing.endtime }}</td>
|
||||
</tr><tr>
|
||||
<th>{% trans "Boat" %}</th><td>{{ outing.boat.boatname }}</td>
|
||||
</tr><tr>
|
||||
<th>{% trans "Rower" %}</th><td>{{ outing.rower.user.first_name }} {{ outing.rower.user.last_name }}</td>
|
||||
</tr><tr>
|
||||
{% for otherrower in outing.otherrowers.all %}
|
||||
<th>{{ forloop.counter|filteriternum }}</th><td>{{ otherrower.user.first_name}} {{ otherrower.user.last_name }}</td></tr><tr>
|
||||
{% endfor %}
|
||||
<th>{% trans "Status" %}</th><td>{% trans outing.status %}</td>
|
||||
</tr><tr>
|
||||
<th>{% trans "Distance (km)" %}</th><td>{{ outing.distance }}</td>
|
||||
</tr><tr>
|
||||
<th>{% trans "Comment" %}</th><td>{{ outing.comment }}</td>
|
||||
<tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
{% endlocaltime %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user