mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-29 05:11:52 +00:00
Inelegances fixes
This commit is contained in:
parent
e209a9bb37
commit
9380f751b2
@ -23,8 +23,10 @@ See troggle/code/views/other.py and core.models/logbooks.py writelogbook(year, f
|
||||
|
||||
<div class="tripdate" id="{{logbook_entry.slug}}">{{logbook_entry.date|date:'Y-m-d'}}</div>
|
||||
<div class="trippeople">{% for personlogentry in logbook_entry.personlogentry_set.all %}{% if personlogentry.is_logbook_entry_author %}<u>{{personlogentry.personexpedition.person|safe}}</u>{% else %}{{ personlogentry.personexpedition.person|safe }}{% endif %}, {% endfor %}</div>
|
||||
<div class="triptitle"><a href="/logbookedit/{{logbook_entry.slug}}">{{logbook_entry.title|safe}}</a></div>
|
||||
|
||||
<div class="triptitle">{{logbook_entry.title|safe}}</div>
|
||||
<br />
|
||||
<a href="/logbookedit/{{logbook_entry.slug}}">Edit this entry</a>
|
||||
<br />
|
||||
{{logbook_entry.text|safe}}
|
||||
<div class="timeug">T/U: {{logbook_entry.time_underground|safe}} hours</div>
|
||||
{% endfor %}
|
||||
|
@ -95,10 +95,13 @@
|
||||
<hr />
|
||||
|
||||
{% if output %}
|
||||
This is the HTML which will be put into the logbook.html, and below that is the HTML as rendered to be read as part of the full logbook.
|
||||
<details><summary>
|
||||
Click this triangle to see the HTML which has been put into logbook.html, and below that is the rendered logbook entry.
|
||||
</summary>
|
||||
<pre>
|
||||
{{output}}
|
||||
</pre>
|
||||
</details>
|
||||
<hr>
|
||||
<style>
|
||||
.tripdate, .trippeople {
|
||||
|
Loading…
Reference in New Issue
Block a user