diff options
Diffstat (limited to 'templates/qm.html')
-rw-r--r-- | templates/qm.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/templates/qm.html b/templates/qm.html index d10e742..0679452 100644 --- a/templates/qm.html +++ b/templates/qm.html @@ -26,12 +26,11 @@ {% if qm.resolution_station_name %} The survey station which record the continuation of the cave past this QM is <b>{{qm.resolution_station_name}}</b>.<br /> {%endif %} -Tick off comment: '{{qm.comment}}'</a> <br /> -Tick off completion description: '{{qm.completion_description}}' </a> <br /> -Tick off url: <a href="/{{qm.get_completion_url}}">{{qm.get_completion_url}}</a> WRONG <br /> -Tick off date: '{{qm.completion_date}}' [For survex file ticks. not implemented yet]</a> <br /> +Tick off comment: '{{qm.comment|safe}}'</a> <br /> +Tick off completion description: '{{qm.completion_description|safe}}' </a> <br /> +Tick off date: '{{qm.completion_date|date:'Y-m-d'}}' [For survex file ticks. not implemented yet]</a> <br /> {% endif %} -QM page_ref: '{{qm.page_ref}}'<br> +QM page_ref: '{{qm.page_ref|safe}}'<br> {% if qm.cave %} <h3>Cave: {{qm.cave|safe }}</h3> @@ -50,7 +49,7 @@ Comment: '{{qm.comment}}'</a> <br /> {% if qm.block %} <h3>Survexfile</h3> -{{qm.block.date}} <a href="/survexfile/{{qm.block.survexfile.path}}.svx">{{qm.block}}.svx</a> +{{qm.block.date|date:'Y-m-d'}} <a href="/survexfile/{{qm.block.survexfile.path}}.svx">{{qm.block}}.svx</a> {% endif %} |