forked from expo/troggle
ffb5d7bdda
url in templates now requires quotes roung the first arg USE_TZ added
23 lines
458 B
HTML
23 lines
458 B
HTML
<h2>List file :{{file}}:</h2>
|
|
|
|
<h3>Files</h3>
|
|
<ul>
|
|
{% for lf in listdirfiles %}
|
|
<li><a href="{% url "jgtfile" lf.0 %}">{{lf.1}}</a> ({{lf.2}} bytes)</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<h3>Upperdirectories</h3>
|
|
<ul>
|
|
{% for lf in upperdirs %}
|
|
<li><a href="{% url "jgtfile" lf.0 %}">{{lf.1}}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<h3>Subdirectories</h3>
|
|
<ul>
|
|
{% for lf in listdirdirs %}
|
|
<li><a href="{% url "jgtfile" lf.0 %}">{{lf.1}}</a> ({{lf.2}} files)</li>
|
|
{% endfor %}
|
|
</ul>
|