forked from expo/troggle
debug stuff for logreport
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user