Show More
@@ -309,6 +309,7 b' li {' | |||
|
309 | 309 | |
|
310 | 310 | .post-info { |
|
311 | 311 | color: #ddd; |
|
312 | margin-bottom: 1ex; | |
|
312 | 313 | } |
|
313 | 314 | |
|
314 | 315 | .moderator_info { |
@@ -14,6 +14,38 b'' | |||
|
14 | 14 | <div class="post dead_post" id="{{ post.id }}"> |
|
15 | 15 | {% endif %} |
|
16 | 16 | |
|
17 | <div class="post-info"> | |
|
18 | <a class="post_id" href="{% post_object_url post thread=thread %}" | |
|
19 | {% if not truncated and not thread.archived %} | |
|
20 | onclick="javascript:addQuickReply('{{ post.id }}'); return false;" | |
|
21 | title="{% trans 'Quote' %}" | |
|
22 | {% endif %} | |
|
23 | >({{ post.id }}) </a> | |
|
24 | <span class="title">{{ post.title }} </span> | |
|
25 | <span class="pub_time">{{ post.pub_time }}</span> | |
|
26 | {% if thread.archived %} | |
|
27 | — {{ thread.bump_time }} | |
|
28 | {% endif %} | |
|
29 | {% if is_opening and need_open_link %} | |
|
30 | {% if thread.archived %} | |
|
31 | [<a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a>] | |
|
32 | {% else %} | |
|
33 | [<a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a>] | |
|
34 | {% endif %} | |
|
35 | {% endif %} | |
|
36 | ||
|
37 | {% if moderator %} | |
|
38 | <span class="moderator_info"> | |
|
39 | [<a href="{% url 'post_admin' post_id=post.id %}" | |
|
40 | >{% trans 'Edit' %}</a>] | |
|
41 | [<a href="{% url 'delete' post_id=post.id %}" | |
|
42 | >{% trans 'Delete' %}</a>] | |
|
43 | ({{ post.poster_ip }}) | |
|
44 | [<a href="{% url 'ban' post_id=post.id %}?next={{ request.path }}" | |
|
45 | >{% trans 'Ban IP' %}</a>] | |
|
46 | </span> | |
|
47 | {% endif %} | |
|
48 | </div> | |
|
17 | 49 | {% if post.image %} |
|
18 | 50 | <div class="image"> |
|
19 | 51 | <a |
@@ -29,38 +61,6 b'' | |||
|
29 | 61 | </div> |
|
30 | 62 | {% endif %} |
|
31 | 63 | <div class="message"> |
|
32 | <div class="post-info"> | |
|
33 | <a class="post_id" href="{% post_object_url post thread=thread %}" | |
|
34 | {% if not truncated and not thread.archived %} | |
|
35 | onclick="javascript:addQuickReply('{{ post.id }}'); return false;" | |
|
36 | title="{% trans 'Quote' %}" | |
|
37 | {% endif %} | |
|
38 | >({{ post.id }}) </a> | |
|
39 | <span class="title">{{ post.title }} </span> | |
|
40 | <span class="pub_time">{{ post.pub_time }}</span> | |
|
41 | {% if thread.archived %} | |
|
42 | — {{ thread.bump_time }} | |
|
43 | {% endif %} | |
|
44 | {% if is_opening and need_open_link %} | |
|
45 | {% if thread.archived %} | |
|
46 | [<a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a>] | |
|
47 | {% else %} | |
|
48 | [<a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a>] | |
|
49 | {% endif %} | |
|
50 | {% endif %} | |
|
51 | ||
|
52 | {% if moderator %} | |
|
53 | <span class="moderator_info"> | |
|
54 | [<a href="{% url 'post_admin' post_id=post.id %}" | |
|
55 | >{% trans 'Edit' %}</a>] | |
|
56 | [<a href="{% url 'delete' post_id=post.id %}" | |
|
57 | >{% trans 'Delete' %}</a>] | |
|
58 | ({{ post.poster_ip }}) | |
|
59 | [<a href="{% url 'ban' post_id=post.id %}?next={{ request.path }}" | |
|
60 | >{% trans 'Ban IP' %}</a>] | |
|
61 | </span> | |
|
62 | {% endif %} | |
|
63 | </div> | |
|
64 | 64 | {% autoescape off %} |
|
65 | 65 | {% if truncated %} |
|
66 | 66 | {{ post.text.rendered|truncatewords_html:50 }} |
General Comments 0
You need to be logged in to leave comments.
Login now