Permalink
Browse files

BK-701 History over on book view page is missing some descriptions

  • Loading branch information...
1 parent 49d936c commit 71da260022c6a7eb9a63437cb4f3e0130315c501 @aerkalov aerkalov committed May 29, 2013
Showing with 19 additions and 1 deletion.
  1. +19 −1 lib/booki/reader/templates/reader/book_info.html
@@ -182,7 +182,25 @@ <h3 class="inner">{% trans "Recent activity" %}</h3>
{% trans "Delete chapter" %}
</td>
{% else %}
- <td colspan="2"> {{ ln.kind }}</td>
+ {% if ln.kind == 16 %}
+ <td valign="top" colspan="2">
+ {% trans "Upload cover" %}
+ </td>
+ {% else %}
+ {% if ln.kind == 17 %}
+ <td valign="top" colspan="2">
+ {% trans "Delete cover" %}
+ </td>
+ {% else %}
+ {% if ln.kind == 14 %}
+ <td valign="top" colspan="2">
+ {% trans "Attachment delete" %}
+ </td>
+ {% else %}
+ <td colspan="2"></td>
+ {% endif %}
+ {% endif %}
+ {% endif %}
{% endif %}
{% endif %}
{% endif %}

0 comments on commit 71da260

Please sign in to comment.