Show More
@@ -9,18 +9,17 b'' | |||
|
9 | 9 | <span class="title">{{ post.title }}</span> |
|
10 | 10 | {% if perms.boards.change_post %} |
|
11 | 11 | <a href="{% url 'feed' %}?ip={{ post.poster_ip }}">*</a> |
|
12 | <span class="pub_time" style="border-bottom: solid 2px #{{ post.get_ip_color }};" title="{{ post.poster_ip }}"> | |
|
13 | {% else %} | |
|
14 | <span class="pub_time"> | |
|
12 | 15 | {% endif %} |
|
13 | <span class="pub_time" | |
|
14 | {% if perms.boards.change_post %} | |
|
15 | style="border-bottom: solid 2px #{{ post.get_ip_color }};" title="{{ post.poster_ip }}" | |
|
16 | {% endif %} | |
|
17 | ><time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time }}</time></span> | |
|
16 | <time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time }}</time></span> | |
|
18 | 17 | {% if post.tripcode %} |
|
19 | 18 | / |
|
20 | 19 | {% with tripcode=post.get_tripcode %} |
|
21 | <a href="{% url 'feed' %}?tripcode={{ tripcode.get_full_text }}" | |
|
22 | class="tripcode" title="{{ tripcode.get_full_text }}" | |
|
23 | style="border: solid 2px #{{ tripcode.get_color }}; border-left: solid 1ex #{{ tripcode.get_color }};">{{ tripcode.get_short_text }}</a> | |
|
20 | <a href="{% url 'feed' %}?tripcode={{ tripcode.get_full_text }}" | |
|
21 | class="tripcode" title="{{ tripcode.get_full_text }}" | |
|
22 | style="border: solid 2px #{{ tripcode.get_color }}; border-left: solid 1ex #{{ tripcode.get_color }};">{{ tripcode.get_short_text }}</a> | |
|
24 | 23 | {% endwith %} |
|
25 | 24 | {% endif %} |
|
26 | 25 | {% comment %} |
@@ -85,20 +84,16 b'' | |||
|
85 | 84 | Post message (text) |
|
86 | 85 | {% endcomment %} |
|
87 | 86 | <div class="message"> |
|
88 |
{% |
|
|
89 | {% if truncated %} | |
|
90 | {{ post.get_text|truncatewords_html:50 }} | |
|
91 |
{ |
|
|
92 | {{ post.get_text }} | |
|
93 | {% endif %} | |
|
94 | {% endautoescape %} | |
|
87 | {% if truncated %} | |
|
88 | {{ post.get_text|truncatewords_html:50|safe }} | |
|
89 | {% else %} | |
|
90 | {{ post.get_text|safe }} | |
|
91 | {% endif %} | |
|
95 | 92 | </div> |
|
96 | {% if post.is_referenced %} | |
|
97 | {% if not mode_tree %} | |
|
98 | <div class="refmap"> | |
|
99 | {% trans "Replies" %}: {{ post.refmap|safe }} | |
|
100 | </div> | |
|
101 | {% endif %} | |
|
93 | {% if post.is_referenced and not mode_tree %} | |
|
94 | <div class="refmap"> | |
|
95 | {% trans "Replies" %}: {{ post.refmap|safe }} | |
|
96 | </div> | |
|
102 | 97 | {% endif %} |
|
103 | 98 | {% comment %} |
|
104 | 99 | Thread metadata: counters, tags etc |
General Comments 0
You need to be logged in to leave comments.
Login now