summaryrefslogtreecommitdiffstats
path: root/core/views/survex.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-03-14 16:10:57 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2023-03-14 16:10:57 +0000
commit934a19b879aa024ac97e8c935302238fcc5b28bf (patch)
treeabc7b66bb4acdc728dd88ee15f47a17aae61c810 /core/views/survex.py
parentc247636c4ce2fd352ed59c658b7f2101944208cc (diff)
downloadtroggle-934a19b879aa024ac97e8c935302238fcc5b28bf.tar.gz
troggle-934a19b879aa024ac97e8c935302238fcc5b28bf.tar.bz2
troggle-934a19b879aa024ac97e8c935302238fcc5b28bf.zip
updated .svx template
Diffstat (limited to 'core/views/survex.py')
-rw-r--r--core/views/survex.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/core/views/survex.py b/core/views/survex.py
index cdc2d24..714cf6d 100644
--- a/core/views/survex.py
+++ b/core/views/survex.py
@@ -44,6 +44,7 @@ even though there are dozens of surveys.
survexdatasetpath = Path(settings.SURVEX_DATA)
+# NB this template text must be identical to that in :loser:/templates/template.svx
survextemplatefile = """; *** THIS IS A TEMPLATE FILE NOT WHAT YOU MIGHT BE EXPECTING ***
*** DO NOT SAVE THIS FILE WITHOUT RENAMING IT !! ***
@@ -108,9 +109,18 @@ survextemplatefile = """; *** THIS IS A TEMPLATE FILE NOT WHAT YOU MIGHT BE EXPE
;[ QM1 A surveyname.3 - description of QM ]
;[ QM2 B surveyname.5 - description of QM ]
+;TICKed off QMs
+; in the past, if another survey existed, the resolution-station
+; field was filled in, e.g.
+;[ QM2 B surveyname.5 anothersurvey.7 description of QM and description of progress ]
+
+; or we can use the trial format
+;Serial number TICK date resolution description
+;[QM2 TICK 2022-07-20 This is an example ticked QM]
+
;------------
;Cave description ;(leave commented-out)
-;freeform text describing this section of the cave
+;Freeform text describing this section of the cave
*end [surveyname]
"""