summaryrefslogtreecommitdiffstats
path: root/templates/logreport.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-16 14:45:08 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-16 14:45:08 +0200
commit136519033044a160363ee74ea68cecf9ff516eeb (patch)
treee76d9bfdeaf2e4efe0527d9071a042a2b608cefc /templates/logreport.html
parentb907dcc993ae5e74700cfce42788bb7214ed463e (diff)
downloadtroggle-136519033044a160363ee74ea68cecf9ff516eeb.tar.gz
troggle-136519033044a160363ee74ea68cecf9ff516eeb.tar.bz2
troggle-136519033044a160363ee74ea68cecf9ff516eeb.zip
More links
Diffstat (limited to 'templates/logreport.html')
-rw-r--r--templates/logreport.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/logreport.html b/templates/logreport.html
index a8df633..a131146 100644
--- a/templates/logreport.html
+++ b/templates/logreport.html
@@ -20,7 +20,7 @@
<table class="expeditionlogbooks">
-<tr><th>Date</th><th>Logged trips and diary entries</th><th>Cave</th><th>Text..</th><th>Author</th><th>Who else</th></tr>
+<tr><th>Date</th><th>Logged trips and diary entries</th><th>Cave</th><th>Text..</th><th>Words</th><th>Author</th><th>Who else</th></tr>
{% regroup dateditems|dictsort:"date" by date as dates %}
{% for date in dates %}
{% for entry in date.list %}
@@ -39,6 +39,9 @@
<td>
{{entry.text|striptags|safe|truncatechars:30}}&nbsp;
</td>
+<td>
+<div align="right">{{entry.text|wordcount}}</div>
+</td>
<td>
<a href="/personexpedition/{{entry.author.personexpedition.person}}/{{year}}">{{entry.author.nickname_used}}</a>
</td>