mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-26 17:21:55 +00:00
[svn r8210] calendar.html used django 1.1 {% empty %} syntax, but older version on server so I had to change it
This commit is contained in:
parent
a8d5cecac9
commit
841944d564
@ -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