diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-30 18:54:15 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-30 18:54:15 +0000 |
commit | d275211aa719f6393eeb367f13587a6998a3c26c (patch) | |
tree | 7fecfb6f5c3347c8854becd46836986d1e9575d0 /templates/cave_kataster.html | |
parent | 0084412258cc0d8969d0d63409e54413b048cbd2 (diff) | |
download | troggle-d275211aa719f6393eeb367f13587a6998a3c26c.tar.gz troggle-d275211aa719f6393eeb367f13587a6998a3c26c.tar.bz2 troggle-d275211aa719f6393eeb367f13587a6998a3c26c.zip |
Katastering, list files
Diffstat (limited to 'templates/cave_kataster.html')
-rw-r--r-- | templates/cave_kataster.html | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/templates/cave_kataster.html b/templates/cave_kataster.html index fc24246..38c8c81 100644 --- a/templates/cave_kataster.html +++ b/templates/cave_kataster.html @@ -1,18 +1,40 @@ {% extends "base.html" %} {% block title %}Cave Kataster status report -<!-- cave_debug.html - this text visible because this template has been included --> +<!-- cave_kataster.html - this text visible because this template has been included --> {% endblock %} {% block content %} -<h2>Caves kataster status</h2> +<h2>Cave kataster status</h2> +<h3>Cave</h3> +<a href="/{{cave.url}}">{{cave.slug}}</a> -{% if cave.kataster_status %} -{{c.kataster_status |safe}} +<p> +{% if cave.kataster_number %} +This cave has already been "katastered". area:{{cave.areacode |safe}} number:{{cave.kataster_number |safe}} +{% else %} +This cave needs to be "katastered". If you have the new number issued by the Austrians, we can do it now. {% endif %} -<a href="/{{cave.url}}">{{cave.slug}}</a> +<h3>Rename the .html files</h3> +<div style="font-family: monospace; font-weight: bold;"> +{{cave_data}} +<p> +{% for e in entrance_data %} +{{e}}</br /> +{% endfor %} +</div> + +<ul style="list-style: disc"> +<li> Rename all the files listed above +<li> Edit the 'kataster'number' field inside the cave_data file. +<li> Edit the 'entranceslug' field inside each 'entracne' field in the cave_data file. +<li> Rename the directory (if it exists) inside the areacode directory, e.g. inside /1623/ +<li> Edit all the 'href=' URLS (if they exist) inside all the cave_data and entrance_data files descriptive text to refer to the new directory +<li> Find the survex files for this cave, rename them, and edit the *include inside the survex files to use the new kataster number +<li> find and report, but do not change, the '*_station' tags in each entrance_data file and in the fixed points files in the loser repo. +</ul> {% endblock %} |