debug stuff for logreport

This commit is contained in:
2024-07-23 08:58:17 +02:00
parent 48f2407a06
commit c01f0e1dff
3 changed files with 19 additions and 7 deletions
+5 -3
View File
@@ -21,11 +21,11 @@
<p>(Hover mouse over the date to see the slug for the entry.)
{% if logged_in %}<font color="red">Logged in as expoadmin</font>{% endif %}
<input type="hidden" value="{{entry.slug}}" name="entry_slug">
<table class="expeditionlogbooks">
<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>
{% if logged_in %}<th><font color="red">Admin</font></th>{% endif %}
{% if logged_in %}<th width=110px>Slug</th><th><font color="red">Admin</font></th>{% endif %}
</tr>
{% regroup dateditems|dictsort:"date" by date as dates %}
{% for date in dates %}
@@ -61,7 +61,9 @@
</td>
{% if logged_in %}
<form name="import" method="post" action="/logentrydelete/{{year}}">{% csrf_token %}
<td><input type="hidden" value="{{entry.slug}}" name="entry_slug">
<td>
{{entry.slug}}</td>
<td>
<input type="submit" value="delete"></td>
</form>
{% endif %}