diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-05-01 00:18:39 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-05-01 00:18:39 +0100 |
commit | 425b534c30a8e2ce5b581e9cf7506c98c9f66f11 (patch) | |
tree | 05c34b251b0f4149813e860cb79960edc5f5d925 | |
parent | 63640db81ff16d75137e1ab7d317c90ef4bf91b0 (diff) | |
download | troggle-425b534c30a8e2ce5b581e9cf7506c98c9f66f11.tar.gz troggle-425b534c30a8e2ce5b581e9cf7506c98c9f66f11.tar.bz2 troggle-425b534c30a8e2ce5b581e9cf7506c98c9f66f11.zip |
add wallet column to expo report
-rw-r--r-- | templates/expedition.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/expedition.html b/templates/expedition.html index 2f10326..4dd2a45 100644 --- a/templates/expedition.html +++ b/templates/expedition.html @@ -68,7 +68,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip. <h3>Logbooks and survey trips per day</h3> <table class="expeditionlogbooks"> -<tr><th>Date</th><th>Logged trips</th><th>Surveys</th></tr> +<tr><th>Date</th><th>Logged trips</th><th>Surveys</th><th>Wallets</th></tr> {% regroup dateditems|dictsort:"date" by date as dates %} {% for date in dates %} <tr> @@ -79,7 +79,11 @@ an "S" for a survey trip. The colours are the same for people on the same trip. <td>{% for item in date.list %} {% if item.isSurvexBlock %}<a href="{% url "svx" item.survexfile.path %}">{{item.name}}</a><br/>{% endif %} {% endfor %}</td> -</tr> +<td>{% for item in date.list %} + {% if item.isSurvexBlock %} + <a href="{{item.scanswallet.get_absolute_url}}">{{item.scanswallet.walletname}}</a><br/> + {% endif %} + {% endfor %}</td></tr> {% endfor %} </table> |