##// END OF EJS Templates
Show archived thread death time only for an opening post
neko259 -
r930:a02cd1c0 default
parent child Browse files
Show More
@@ -19,8 +19,15 b''
19 19 title="{% trans 'Quote' %}" {% endif %}>({{ post.id }})</a>
20 20 <span class="title">{{ post.title }}</span>
21 21 <span class="pub_time">{{ post.pub_time }}</span>
22 {% comment %}
23 Thread death time needs to be shown only if the thread is alredy archived
24 and this is an opening post (thread death time) or a post for popup
25 (we don't see OP here so we show the death time in the post itself).
26 {% endcomment %}
22 27 {% if thread.archived %}
28 {% if is_opening %}
23 29 — {{ thread.bump_time }}
30 {% endif %}
24 31 {% endif %}
25 32 {% if is_opening and need_open_link %}
26 33 {% if thread.archived %}
@@ -32,11 +39,9 b''
32 39
33 40 {% if moderator %}
34 41 <span class="moderator_info">
35 [<a href="{% url 'admin:boards_post_change' post.id %}"
36 >{% trans 'Edit' %}</a>]
42 [<a href="{% url 'admin:boards_post_change' post.id %}">{% trans 'Edit' %}</a>]
37 43 {% if is_opening %}
38 [<a href="{% url 'admin:boards_thread_change' thread.id %}"
39 >{% trans 'Edit thread' %}</a>]
44 [<a href="{% url 'admin:boards_thread_change' thread.id %}">{% trans 'Edit thread' %}</a>]
40 45 {% endif %}
41 46 </span>
42 47 {% endif %}
General Comments 0
You need to be logged in to leave comments. Login now