diff options
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 %} |