forked from expo/troggle
Removed extranious characters where there is one unnnumbered entrance.
This commit is contained in:
parent
ef27901125
commit
3748840e23
@ -224,7 +224,8 @@ class Cave(TroggleModel):
|
|||||||
n = 0
|
n = 0
|
||||||
res += r
|
res += r
|
||||||
if n == 0:
|
if n == 0:
|
||||||
res += ", " + prevR
|
if res:
|
||||||
|
res += ", " + prevR
|
||||||
else:
|
else:
|
||||||
res += "–" + prevR
|
res += "–" + prevR
|
||||||
return res
|
return res
|
||||||
|
@ -457,7 +457,7 @@ div#scene {
|
|||||||
{% if cave.kataster_number %}
|
{% if cave.kataster_number %}
|
||||||
{{ cave.kataster_number|safe }}
|
{{ cave.kataster_number|safe }}
|
||||||
{% if cave.entrancelist %}
|
{% if cave.entrancelist %}
|
||||||
- {{ cave.entrancelist|safe }}
|
{{ cave.entrancelist|safe }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if cave.unofficial_number %}
|
{% if cave.unofficial_number %}
|
||||||
<br />({{ cave.unofficial_number|safe }})
|
<br />({{ cave.unofficial_number|safe }})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user