##// END OF EJS Templates
Links for post and thread deletion from the site
neko259 -
r1615:9f0d6e0c default
parent child Browse files
Show More
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -542,3 +542,9 b' msgstr "\xd0\xb8\xd0\xbd\xd1\x82\xd0\xb5\xd1\x80\xd0\xb5\xd1\x81\xd0\xbd\xd0\xbe\xd0\xb5"'
542
542
543 msgid "images"
543 msgid "images"
544 msgstr "изображения"
544 msgstr "изображения"
545
546 msgid "Delete post"
547 msgstr "Удалить пост"
548
549 msgid "Delete thread"
550 msgstr "Удалить тему"
@@ -53,6 +53,9 b''
53 {% if perms.boards.change_thread or perms_boards.delete_thread %}
53 {% if perms.boards.change_thread or perms_boards.delete_thread %}
54 {% if is_opening %}
54 {% if is_opening %}
55 | <a href="{% url 'admin:boards_thread_change' thread.id %}">{% trans 'Edit thread' %}</a>
55 | <a href="{% url 'admin:boards_thread_change' thread.id %}">{% trans 'Edit thread' %}</a>
56 | <a href="{% url 'admin:boards_thread_delete' thread.id %}">{% trans 'Delete thread' %}</a>
57 {% else %}
58 | <a href="{% url 'admin:boards_post_delete' post.id %}">{% trans 'Delete post' %}</a>
56 {% endif %}
59 {% endif %}
57 {% endif %}
60 {% endif %}
58 {% if post.global_id_id %}
61 {% if post.global_id_id %}
General Comments 0
You need to be logged in to leave comments. Login now