diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-10 16:35:00 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-10 16:35:00 +0300 |
commit | 9d6552ea22ba953e8d9e8e4891ab387bc43f9ac2 (patch) | |
tree | 83cc012f6414bb1243c1567195aa2a8e85b841af /templates/survexdir.html | |
parent | 2f6017d6d3e8b447895dbf3c9c2fe8d39ca4ecc4 (diff) | |
download | troggle-9d6552ea22ba953e8d9e8e4891ab387bc43f9ac2.tar.gz troggle-9d6552ea22ba953e8d9e8e4891ab387bc43f9ac2.tar.bz2 troggle-9d6552ea22ba953e8d9e8e4891ab387bc43f9ac2.zip |
ARGE caves, fixed bug in non-numeric ids
Diffstat (limited to 'templates/survexdir.html')
-rw-r--r-- | templates/survexdir.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/survexdir.html b/templates/survexdir.html index e6854ef..a0fa1c2 100644 --- a/templates/survexdir.html +++ b/templates/survexdir.html @@ -12,7 +12,7 @@ <tr><th>Cave</th><th>Cave primary</th><th>f.primary</th><th>f.path</th></tr> {% for f in survexfiles %} <tr> -<td><a href="/cave/{{f.cave}}">{{f.cave}}</a> {{f.cave.areacode}}{f.cave.subarea}}</td> +<td><a href="/cave/{{f.cave}}">{{f.cave}}</a> {{f.cave.areacode}}{% if f.cave.subarea %}-{{f.cave.subarea}}{% endif %}</td> <td>{{f.cave.survex_file}}</td> <td> {{f.primary}}.svx</td> <td><span {% if f.pathbad %} style="color:red" {% endif %}><a href="/survexfile/{{f.path}}.svx">{{f.path}}.svx</a></span></td> |