summaryrefslogtreecommitdiffstats
path: root/templates/expedition.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-01-29 20:59:56 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2023-01-29 20:59:56 +0000
commit226cbb6b5cb9d38b2856a3007745c8045ed9efae (patch)
tree17a5c3d522a5598815f570abb4ce19aef1f88f67 /templates/expedition.html
parenta1c34f488daac73ad027f03f74a6c725a5ff53d9 (diff)
downloadtroggle-226cbb6b5cb9d38b2856a3007745c8045ed9efae.tar.gz
troggle-226cbb6b5cb9d38b2856a3007745c8045ed9efae.tar.bz2
troggle-226cbb6b5cb9d38b2856a3007745c8045ed9efae.zip
Fixed coloured T and S on expo calendar
Diffstat (limited to 'templates/expedition.html')
-rw-r--r--templates/expedition.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/expedition.html b/templates/expedition.html
index 92ebde7..dd4e7ab 100644
--- a/templates/expedition.html
+++ b/templates/expedition.html
@@ -27,8 +27,10 @@
{% endif %}
<p><b>At a single glance:</b> The table shows all expo cavers and their recorded trips.
-The columns are the date in the month (July or August), with a "T" for a logbook entry, and
-an "S" for a survey trip. The colours are the same for people on the same trip.</p>
+The columns are the date in the month (July or August), with a
+"<b>T</b>" for a logbook entry, and
+an "<b>S</b>" for a survey trip. The colours are the same for people on the same trip. </p>
+<!-- Colours are set in trog3.css and there can be 3 trips a day of each type-->
<table class="expeditionpersonlist">
<tr>
@@ -47,7 +49,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip.
{% if persondayactivities.persontrips or persondayactivities.survexblocks %}
<td class="persondayactivity">
{% for persontrip in persondayactivities.persontrips %}
- <a href="{{persontrip.logbook_entry.get_absolute_url}}" class="dayindexlog-1">T</a>
+ <a href="{{persontrip.logbook_entry.get_absolute_url}}" class="dayindexlog-{{persontrip.logbook_entry.DayIndex}}">T</a>
{% endfor %}
<br/>
{% for survexblock in persondayactivities.survexblocks %}