summaryrefslogtreecommitdiffstats
path: root/templates/expedition.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-20 19:10:05 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-20 19:10:05 +0200
commit41fff1f3dd9583fec5064952ef322b8341a4e1b1 (patch)
treef6bf45207fef472401bdf712833ea8c69ae2a59e /templates/expedition.html
parentbca1123d4d544a7047584cb6ec3d41b06e18b61d (diff)
downloadtroggle-41fff1f3dd9583fec5064952ef322b8341a4e1b1.tar.gz
troggle-41fff1f3dd9583fec5064952ef322b8341a4e1b1.tar.bz2
troggle-41fff1f3dd9583fec5064952ef322b8341a4e1b1.zip
mugshots on expo page
Diffstat (limited to 'templates/expedition.html')
-rw-r--r--templates/expedition.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/expedition.html b/templates/expedition.html
index d874053..1623a0c 100644
--- a/templates/expedition.html
+++ b/templates/expedition.html
@@ -49,7 +49,13 @@ an "<b>S</b>" for a survey trip. The colours of the "<b>T</b>" and "<b>S</b>" a
<td><a href="{{ personexpoday.personexpedition.get_absolute_url }}">{{personexpoday.personexpedition.person.fullname|safe}}</a></td>
<td>{% if personexpoday.personexpedition.person.mug_shot %}
-<div align=right><a href="{{personexpoday.personexpedition.person.mug_shot}}">&#128515;</a></div>{% endif %}</td>
+<div align=right><a href="{{personexpoday.personexpedition.person.mug_shot}}">&#128515;</a></div>
+{% else %}
+ {% if personexpoday.personexpedition.person.blurb %}
+<a href="{{personexpoday.personexpedition.person.get_mugshot_url}}">&#128513;</a>
+ {% endif %}
+{% endif %}
+</td>
{% for activities in personexpoday.personrow %}
{% if activities.personentries or activities.survexblocks %}