diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-07-06 17:35:08 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-07-06 17:35:08 +0300 |
commit | d3572e18c34c20c661eb61c7f8c46358f7223d37 (patch) | |
tree | 5bfddf3a5271e2b44313ef5866f7dee36c344b57 /templates/qm.html | |
parent | 7dc3cc3b91e0c8dff87ccc09a73421ab64c2a919 (diff) | |
download | troggle-d3572e18c34c20c661eb61c7f8c46358f7223d37.tar.gz troggle-d3572e18c34c20c661eb61c7f8c46358f7223d37.tar.bz2 troggle-d3572e18c34c20c661eb61c7f8c46358f7223d37.zip |
QM reports all working
Diffstat (limited to 'templates/qm.html')
-rw-r--r-- | templates/qm.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/qm.html b/templates/qm.html index 4bcc25d..a63b903 100644 --- a/templates/qm.html +++ b/templates/qm.html @@ -34,8 +34,8 @@ {% if qm.cave %} <a href="{% url 'caveQMs' qm.cave|safe %}">{{ qm.cave|safe }} QMs</a> <br> {% else %} - {% if qm.found_by.cave %} - <a href="{% url 'caveQMs' qm.found_by.cave|safe %}">{{ qm.found_by.cave|safe }} QMs</a> <br> + {% if qm.cave %} + <a href="{% url 'caveQMs' qm.cave|safe %}">{{ qm.cave|safe }} QMs</a> <br> {% endif %} {% endif %} <a href="/{{ qm.cave.url }}">{{ qm.cave|safe }} cave description</a> @@ -49,8 +49,10 @@ <h3>Grade</h3> {{qm.grade}} +{% if qm.found_by %} <h3>Creation</h3> Found by <a href="{{qm.found_by.get_absolute_url}}">{{qm.found_by}}</a> on {{qm.found_by.date}}. +{% endif %} <h3>Completion</h3> {% if ticked_off_by %} |