mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 09:26:47 +00:00
Adding <pre> and </pre> to the logbook entry display so that all the paragraphs are not munged into one when displayed. Untested.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
{% autoescape off %}
|
{% autoescape off %}
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style type="text/css">.author {text-decoration:underline}</style>
|
<style type="text/css">.author {text-decoration:underline}</style>
|
||||||
@@ -8,9 +9,9 @@
|
|||||||
<span class="date">{{date}}</span> - <span class="expeditionyear">{{expeditionyear}}</span>
|
<span class="date">{{date}}</span> - <span class="expeditionyear">{{expeditionyear}}</span>
|
||||||
|
|
||||||
{% if trip.caveOrLocation == "cave" %}
|
{% if trip.caveOrLocation == "cave" %}
|
||||||
<span class="cave">{{trip.cave}}</span>
|
<span class="cave"><pre>{{trip.cave}}</pre></span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="location">{{trip.location}}</span>
|
<span class="location"><pre>{{trip.location}}</pre></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for person in persons %}
|
{% for person in persons %}
|
||||||
|
|||||||
Reference in New Issue
Block a user