diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-08-07 23:41:45 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-08-07 23:41:45 +0300 |
commit | 25c425cff8890f28a7c8038f78c3c0bbc9cbe97f (patch) | |
tree | 1067f0904d2690b1e8257a8ab12d5b75c08d4358 /core | |
parent | 7f335e082cbb40b869ce4705dec30c11a2e9f16a (diff) | |
download | troggle-25c425cff8890f28a7c8038f78c3c0bbc9cbe97f.tar.gz troggle-25c425cff8890f28a7c8038f78c3c0bbc9cbe97f.tar.bz2 troggle-25c425cff8890f28a7c8038f78c3c0bbc9cbe97f.zip |
QMs grayed out for survex files 2014 and earlier
Diffstat (limited to 'core')
-rw-r--r-- | core/models/survex.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/models/survex.py b/core/models/survex.py index 7e6358c..6bffb49 100644 --- a/core/models/survex.py +++ b/core/models/survex.py @@ -296,7 +296,10 @@ class Wallet(models.Model): if waldata["qms written"]: ticks["Q"] = "green" else: - ticks["Q"] = survexok + ticks["Q"] = survexok + if int(self.year()) < 2015: + ticks["Q"] = "lightgrey" + # Notes, Plan, Elevation; Tunnel if waldata["electronic survey"]: |