2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

Removed extranious characters where there is one unnnumbered entrance.

This commit is contained in:
Martin Green 2022-07-15 14:05:48 +01:00
parent ef27901125
commit 3748840e23
2 changed files with 3 additions and 2 deletions

View File

@ -224,7 +224,8 @@ class Cave(TroggleModel):
n = 0
res += r
if n == 0:
res += ", " + prevR
if res:
res += ", " + prevR
else:
res += "–" + prevR
return res

View File

@ -457,7 +457,7 @@ div#scene {
{% if cave.kataster_number %}
{{ cave.kataster_number|safe }}
{% if cave.entrancelist %}
- {{ cave.entrancelist|safe }}
{{ cave.entrancelist|safe }}
{% endif %}
{% if cave.unofficial_number %}
<br />({{ cave.unofficial_number|safe }})