##// END OF EJS Templates
Small post fix
neko259 -
r480:3887f6d4 default
parent child Browse files
Show More
@@ -1,70 +1,70 b''
1 1 {% load i18n %}
2 2 {% load board %}
3 3
4 4 {% spaceless %}
5 5 {% if can_bump %}
6 6 <div class="post" id="{{ post.id }}">
7 7 {% else %}
8 8 <div class="post dead_post" id="{{ post.id }}">
9 9 {% endif %}
10 10
11 11 {% if post.image %}
12 12 <div class="image">
13 13 <a
14 14 class="thumb"
15 15 href="{{ post.image.url }}"><img
16 16 src="{{ post.image.url_200x150 }}"
17 17 alt="{{ post.id }}"
18 18 data-width="{{ post.image_width }}"
19 19 data-height="{{ post.image_height }}"/>
20 20 </a>
21 21 </div>
22 22 {% endif %}
23 23 <div class="message">
24 24 <div class="post-info">
25 25 <span class="title">{{ post.title }}</span>
26 26 <a class="post_id" href="#{{ post.id }}">
27 27 ({{ post.id }})</a>
28 28 [{{ post.pub_time }}]
29 29 [<a href="#" onclick="javascript:addQuickReply('{{ post.id }}')
30 30 ; return false;">&gt;&gt;</a>]
31 31
32 32 {% if moderator %}
33 33 <span class="moderator_info">
34 34 [<a href="{% url 'delete' post_id=post.id %}"
35 35 >{% trans 'Delete' %}</a>]
36 36 ({{ post.poster_ip }})
37 37 [<a href="{% url 'ban' post_id=post.id %}?next={{ request.path }}"
38 38 >{% trans 'Ban IP' %}</a>]
39 39 </span>
40 40 {% endif %}
41 41 </div>
42 42 {% autoescape off %}
43 43 {% if truncated %}
44 44 {{ post.text.rendered|truncatewords_html:50 }}
45 45 {% else %}
46 46 {{ post.text.rendered }}
47 47 {% endif %}
48 48 {% endautoescape %}
49 49 {% if post.is_referenced %}
50 50 <div class="refmap">
51 51 {% trans "Replies" %}:
52 52 {% for ref_post in post.get_sorted_referenced_posts %}
53 53 <a href="{% post_url ref_post.id %}">&gt;&gt;{{ ref_post.id }}</a
54 54 >{% if not forloop.last %},{% endif %}
55 55 {% endfor %}
56 56 </div>
57 57 {% endif %}
58 58 </div>
59 {% if post.thread_new.tags.exists %}
59 {% if post.is_opening and post.thread_new.tags.exists %}
60 60 <div class="metadata">
61 61 <span class="tags">
62 62 {% for tag in post.thread_new.get_tags %}
63 63 <a class="tag" href="{% url 'tag' tag.name %}">
64 64 #{{ tag.name }}</a>{% if not forloop.last %},{% endif %}
65 65 {% endfor %}
66 66 </span>
67 67 </div>
68 68 {% endif %}
69 69 </div>
70 70 {% endspaceless %}
General Comments 0
You need to be logged in to leave comments. Login now