2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 13:18:15 +00:00

Katastering, list files

This commit is contained in:
2025-01-30 18:54:15 +00:00
parent 0084412258
commit d275211aa7
2 changed files with 74 additions and 12 deletions

View File

@@ -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 %}