Show More
@@ -19,9 +19,16 b'' | |||||
19 | title="{% trans 'Quote' %}" {% endif %}>({{ post.id }})</a> |
|
19 | title="{% trans 'Quote' %}" {% endif %}>({{ post.id }})</a> | |
20 | <span class="title">{{ post.title }}</span> |
|
20 | <span class="title">{{ post.title }}</span> | |
21 | <span class="pub_time">{{ post.pub_time }}</span> |
|
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 | {% if thread.archived %} |
|
27 | {% if thread.archived %} | |
|
28 | {% if is_opening %} | |||
23 | — {{ thread.bump_time }} |
|
29 | — {{ thread.bump_time }} | |
24 | {% endif %} |
|
30 | {% endif %} | |
|
31 | {% endif %} | |||
25 | {% if is_opening and need_open_link %} |
|
32 | {% if is_opening and need_open_link %} | |
26 | {% if thread.archived %} |
|
33 | {% if thread.archived %} | |
27 | [<a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a>] |
|
34 | [<a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a>] | |
@@ -32,11 +39,9 b'' | |||||
32 |
|
39 | |||
33 | {% if moderator %} |
|
40 | {% if moderator %} | |
34 | <span class="moderator_info"> |
|
41 | <span class="moderator_info"> | |
35 | [<a href="{% url 'admin:boards_post_change' post.id %}" |
|
42 | [<a href="{% url 'admin:boards_post_change' post.id %}">{% trans 'Edit' %}</a>] | |
36 | >{% trans 'Edit' %}</a>] |
|
|||
37 | {% if is_opening %} |
|
43 | {% if is_opening %} | |
38 | [<a href="{% url 'admin:boards_thread_change' thread.id %}" |
|
44 | [<a href="{% url 'admin:boards_thread_change' thread.id %}">{% trans 'Edit thread' %}</a>] | |
39 | >{% trans 'Edit thread' %}</a>] |
|
|||
40 | {% endif %} |
|
45 | {% endif %} | |
41 | </span> |
|
46 | </span> | |
42 | {% endif %} |
|
47 | {% endif %} |
General Comments 0
You need to be logged in to leave comments.
Login now