summaryrefslogtreecommitdiffstats
path: root/templates/cave_fix.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cave_fix.html')
-rw-r--r--templates/cave_fix.html49
1 files changed, 6 insertions, 43 deletions
diff --git a/templates/cave_fix.html b/templates/cave_fix.html
index a29eed8..41b21f7 100644
--- a/templates/cave_fix.html
+++ b/templates/cave_fix.html
@@ -22,12 +22,8 @@
{{warning|safe}}<p>
{{error|safe}}</div>
-<h3>Rename the cave description directories in <var>expoweb<a href="/{{areacode|safe}}">{{areacode|safe}}</a></var></h3>
-<p>
-<ul style="list-style: disc">
-<li> Edit all the '<samp>href=</samp>' and '<samp>src=</samp>' <small>URLS</small> (if they exist) inside all the <samp>cave_data</samp> and <samp>entrance_data</samp> files descriptive text to refer to the new directory
-<li> Rename the directory (if it exists) inside the areacode directory, e.g. rename <samp>/{{areacode}}/{{cave.unofficial_number}}/</samp> as <samp>/{{areacode}}/<span style="color:blue">{{knum}}</span>/</samp> (if <span style="color:blue">{{knum}}</span> is the correct new kataster number). Do this last.
-</ul>
+<h3>Rename the cave description directories in <var>expoweb/<a href="/{{areacode|safe}}">{{areacode|safe}}</a>/</var></h3>
+
In 1623 there are <strike>82</strike> 69 cave description sub-files, i.e. single pages with a larger image and caption using the t/i/l convention, are not in <br>
<samp><b>1623/[cave]/l/*.html</b></samp> but are directly in <br />
<samp><b>1623/l/[cave]*.html</b></samp> <br>
@@ -38,48 +34,15 @@ due to early versions of Martin's image insertion tool for editing cave descript
{% endif %}
{{misplaced|safe}}
</samp></b><br />
-If we don't edit these, things will still work, i.e. cave description images will still appear, but the names of the files no longer match the new kataster name of the cave. Fixing this - so that these files are stored together with the rest of the stuff just for that cave - could be included in in this renaming tool, but is perhaps better done as another job - which needs doing as troggle does some weird perversions to display these images. Some of these caves may never be katastered.
+If we don't edit these, things will still work, i.e. cave description images will still appear, but the names of the files no longer match the new kataster name of the cave. This renaming tool fixes this - so that these files are stored together with the rest of the stuff just for that cave.
+It needed doing as troggle does some weird perversions to display these images and these code perversions which lead to odd glitches can now be removed.
<p>
-
-
-
-<h3>Move and edit the .html files in <var>expoweb/i,l,t</var></h3>
-<div style="font-family: monospace; font-weight: bold;">
-{{cave_data|safe}}<br />
-&nbsp;&nbsp;&nbsp;<span style="color:grey">&lt;kataster_number&gt;</span><span style="color:grey">&lt;/kataster_number&gt;</span>
-<br />
-&nbsp;&nbsp;&nbsp;
-&rarr;
-<span style="color:grey">&lt;kataster_number&gt;</span><span style="color:blue">{{knum}}</span><span style="color:grey">&lt;/kataster_number&gt;</span>
-
-<br />
-&nbsp;&nbsp;&nbsp;<span style="color:grey">&lt;survex_file&gt;</span>{{cave.survex_file}}
-<span style="color:grey">&lt;/survex_file&gt;</span>
-<br />
-&nbsp;&nbsp;&nbsp;
-&rarr;
-<span style="color:grey">&lt;survex_file&gt;</span><span style="color:blue">caves-{{areacode}}/{{knum}}/{{knum}}.svx</span>
-<span style="color:grey">&lt;/survex_file&gt;</span>
-
-
<p>
-{% for e in entrance_data %}
-{{e|safe}}</br />
-{% endfor %}
-</div>
-
<ul style="list-style: disc">
-
-<li> Edit the '<samp>kataster'number</samp>' field inside the <samp>cave_data</samp> file.
-<li> Edit the '<samp>survex_file</samp>' field inside the <samp>cave_data</samp> file.
-<li> Edit the '<samp>entranceslug</samp>' field inside each '<samp>entrance</samp>' field in the <samp>cave_data</samp> file.
-<li> Rename all the files listed above - always do this <b>last</b> otherwise it is hard to automatically discover which edits have not been done.
+<li> Edit all the '<samp>href=</samp>' and '<samp>src=</samp>' <small>URLS</small> (if they exist) inside all the <samp>cave_data</samp> and <samp>entrance_data</samp> files descriptive text to refer to the new directory
</ul>
-
-
-
<h3>Finally</h3>
<ul style="list-style: disc">
<li><samp>cd loser<br />
@@ -107,7 +70,7 @@ OR we can do an online rename of the "Cave" object in the database [code yet to
<h3>Copy this script and edit it to match the directory names on your PC</h3>
<textarea id="script" name="script" rows="{{rows}}" cols="110" style="font-size:small; font-weight: bold; background-color: LemonChiffon">
-{{script}}
+{{x_script}}
</textarea>
<br />