forked from expo/troggle
[svn] calendar.html used django 1.1 {% empty %} syntax, but older version on server so I had to change it
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8210 by aaron @ 1/20/2009 5:36 AM
This commit is contained in:
parent
6947e43caf
commit
6598dd5105
@ -49,13 +49,13 @@
|
||||
<td class="name">
|
||||
{{ personexpedition.person }}
|
||||
</td>
|
||||
{% if personexpedition.ListDaysTF %}
|
||||
{% for dateTF in personexpedition.ListDaysTF %}
|
||||
<td {{ dateTF|yesno:"class='yes',class='no'"|safe }}></td>
|
||||
{% empty %}
|
||||
<td colspan="{{ expedition.ListDays|length }}"><center>No data.</center></td>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% else %}
|
||||
<td colspan="{{ expedition.ListDays|length }}"><center>No data.</center></td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
@ -5,6 +5,6 @@
|
||||
|
||||
{% block content %}
|
||||
{% for cave in caves %}
|
||||
<p>{{ cave }} <a href="{{settings.URL_ROOT}}{{ cave.kataster_number }}/">{{ cave.official_name|wiki_to_html_short }}</a> </p>
|
||||
<p>{{ cave }} <a href="{{settings.URL_ROOT}}cave/{{ cave.kataster_number }}/">{{ cave.official_name|wiki_to_html_short }}</a> </p>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user