diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/dataformat/cave.xml | 4 | ||||
-rw-r--r-- | templates/dataformat/entrance.xml | 4 | ||||
-rw-r--r-- | templates/svxcaveseveral.html | 15 | ||||
-rw-r--r-- | templates/svxcavesingle.html | 13 |
4 files changed, 28 insertions, 8 deletions
diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml index abc28e9..a00b9ba 100644 --- a/templates/dataformat/cave.xml +++ b/templates/dataformat/cave.xml @@ -1,5 +1,7 @@ +<!DOCTYPE html> +<!-- This file is generated using the form documented at /handbook/survey/caveentry.html --> <!-- Only put one cave in this file --> -<!-- If you edit this file, make sure you update the websites database --> +<!-- If you edit this file by hand, make sure you update the database by doing a full data import --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> diff --git a/templates/dataformat/entrance.xml b/templates/dataformat/entrance.xml index 4e7b315..2ff9f6a 100644 --- a/templates/dataformat/entrance.xml +++ b/templates/dataformat/entrance.xml @@ -1,5 +1,7 @@ +<!DOCTYPE html> <!-- Only put one entrance in this file --> -<!-- If you edit this file, make sure you update the websites database --> +<!-- This file is generated using the form documented at /handbook/survey/caveentry.html --> +<!-- If you edit this file by hand, make sure you update the database by doing a full data import --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> diff --git a/templates/svxcaveseveral.html b/templates/svxcaveseveral.html index e855600..2f53818 100644 --- a/templates/svxcaveseveral.html +++ b/templates/svxcaveseveral.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% block title %}List of survex files{% endblock %} - +{% load wiki_markup %} {% block content %} <!-- the only thing passed into this template is a list of object identifiers for caves. All the processing to extract the survex subdriectories and survex files is done in this template --> @@ -14,7 +14,7 @@ </p> <p> {% for survexdirectory in cave.survexdirectory_set.all %} - <a href="#T_{{survexdirectory.primarysurvexfile.path}}">{{survexdirectory.path}}</a> + This cave has a linked survexdirectory: <a href="#T_{{survexdirectory.primarysurvexfile.path}}">{{survexdirectory.path}}</a> in the database. See the table below. {% empty %} <p>If you were expecting to see a list of survex files here and a summary table of who did what and when, perhaps because you followed a link from <a href="/survexfile/caves/">the master caves' survex list</a> page which showed that such survex files clearly existed, and yet there is nothing here but a blank; then this will be because the survex (.svx) files have been stored on the server in the @@ -28,6 +28,15 @@ <a href="/handbook/survey/caveentry.html">this part of the survey handbook</a>. {% endfor %} </p> + + <p>If you can see a filename here: [ <a href="/survexfile/{{cave.survex_file}}">{{cave.survex_file}}</a> ] + which does <em>not</em> match any in the list below <em>including the directories beginning with </em><strong>caves-162X/</strong></em> + not just the filename</em>, then (if logged on) you can + <strong>click here <var><a href="/cave/{{cave.slug}}/edit/">/cave{{cave.slug}}/edit</a></var></strong> + to go to a form to correct the online data. + Instructions for filling in this form are in this part + <a href="/handbook/survey/caveentry.html"> of the survey handbook</a>. + </p> {% for survexdirectory in cave.survexdirectory_set.all %} <h3 id="T_{{survexdirectory.primarysurvexfile.path}}">{{survexdirectory.path}}</h3> <table> @@ -86,7 +95,7 @@ </tr> {% endfor %} {% endfor %} - </table> + </table><p> {% endfor %} {% endfor %} {% endblock %} diff --git a/templates/svxcavesingle.html b/templates/svxcavesingle.html index 0e64bcf..deca57f 100644 --- a/templates/svxcavesingle.html +++ b/templates/svxcavesingle.html @@ -1,10 +1,10 @@ {% extends "base.html" %} {% block title %}List of survex files{% endblock %} - +{% load wiki_markup %} {% block content %} {% autoescape off %} -<h1>Surveys for <a href="/{{cave.url}}">{{cave.official_name}}</a> - kataster:{{cave}}</h1> +<h1>Surveys for <a href="/{{cave.url}}">{{cave.official_name}}</a> - identifier:{{cave}}</h1> {% endautoescape %} <!-- the only thing passed into this template is the object identifier for a cave. All the processing to extract the survex subdriectories and survex files is done in this template --> @@ -13,7 +13,7 @@ All the processing to extract the survex subdriectories and survex files is done </p> <p> {% for survexdirectory in cave.survexdirectory_set.all %} - <a href="#T_{{survexdirectory.primarysurvexfile.path}}">{{survexdirectory.path}}</a> + <a href="#T_{{survexdirectory.primarysurvexfile.path}}">{{survexdirectory.path}}</a> {% empty %} <p>If you were expecting to see a list of survex files here and a summary table of who did what and when, perhaps because you followed a link from <a href="/survexfile/caves/">the master caves' survex list</a> page which showed that such survex files clearly existed, and yet there is nothing here but a blank; then this will be because the survex (.svx) files have been stored on the server in the @@ -27,6 +27,13 @@ All the processing to extract the survex subdriectories and survex files is done <a href="/handbook/survey/caveentry.html">this part of the survey handbook</a>. {% endfor %} </p> +<p>If you can see a filename here: [ <a href="/survexfile/{{cave.survex_file}}">{{cave.survex_file}}</a> ] which does <em>not</em> match any in the list below <em>including the directories beginning with </em><strong>caves-162X/</strong></em> + not just the filename</em>, then (if logged on) you can +<strong>click here <var><a href="/cave/{{cave.slug}}/edit/">/cave{{cave.slug}}/edit</a></var></strong> +to go to a form to correct the online data. + Instructions for filling in this form are in this part + <a href="/handbook/survey/caveentry.html"> of the survey handbook</a>. +</p> {% for survexdirectory in cave.survexdirectory_set.all %} <h3 id="T_{{survexdirectory.primarysurvexfile.path}}">{{survexdirectory.path}}</h3> <table> |