##// END OF EJS Templates
Show "edit thread" link only on opening post, not every post in the thread
neko259 -
r896:4d1fc8e9 default
parent child Browse files
Show More
@@ -38,8 +38,10 b''
38 <span class="moderator_info">
38 <span class="moderator_info">
39 [<a href="{% url 'admin:boards_post_change' post.id %}"
39 [<a href="{% url 'admin:boards_post_change' post.id %}"
40 >{% trans 'Edit' %}</a>]
40 >{% trans 'Edit' %}</a>]
41 [<a href="{% url 'admin:boards_thread_change' thread.id %}"
41 {% if is_opening %}
42 >{% trans 'Edit thread' %}</a>]
42 [<a href="{% url 'admin:boards_thread_change' thread.id %}"
43 >{% trans 'Edit thread' %}</a>]
44 {% endif %}
43 </span>
45 </span>
44 {% endif %}
46 {% endif %}
45 </div>
47 </div>
General Comments 0
You need to be logged in to leave comments. Login now