diff --git a/parsers/caves.py b/parsers/caves.py index 4607b2239..b7d2a202d 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -224,7 +224,7 @@ def do_ARGE_cave(slug, caveid, areacode, svxid): cave.kataster_number=kn # should only set this if all digit except: # must be unofficial 'number' or name - cave.unofficial_number=caveid.upper() + cave.unofficial_number=caveid cave.save() @@ -347,7 +347,7 @@ def do_pending_cave(slug, caveid, url, areacode, msg=None): survex_file = get_survex_file(slug) cave = Cave( - unofficial_number=caveid.upper(), + unofficial_number=caveid, underground_description="Pending cave write-up - No cave description created yet.", survex_file=survex_file, url=url, @@ -818,7 +818,7 @@ def readcaves(): with open(fpending, "r") as fo: cids = fo.readlines() for cid in cids: - pending.add(cid.strip().rstrip("\n").upper()) + pending.add(cid.strip().rstrip("\n")) with transaction.atomic(): print(" - Deleting Caves and Entrances") diff --git a/templates/caveindex.html b/templates/caveindex.html index a86c18a98..ef4a4320b 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -52,7 +52,7 @@
| {% if cave.kataster_number %}{{ cave.kataster_number }} {{cave.official_name|safe}} {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} {{cave.official_name|safe}} {% endif %} |
| {% if cave.kataster_number %}{{ cave.kataster_number }} {{cave.official_name|safe}} {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} {{cave.official_name|safe}} {% endif %}{% if cave.survex_file %}{% else %}*{% endif %} |