diff options
Diffstat (limited to 'templates/logreport.html')
-rw-r--r-- | templates/logreport.html | 5 |
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}} </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> |