##// END OF EJS Templates
Removed square brackets in the post date
neko259 -
r632:6c22cb9d default
parent child Browse files
Show More
@@ -1,99 +1,99 b''
1 1 {% load i18n %}
2 2 {% load board %}
3 3 {% load cache %}
4 4
5 5 {% get_current_language as LANGUAGE_CODE %}
6 6
7 7 {% spaceless %}
8 8 {% cache 600 post post.id post.last_edit_time thread.archived bumpable truncated moderator LANGUAGE_CODE need_open_link %}
9 9 {% if thread.archived %}
10 10 <div class="post archive_post" id="{{ post.id }}">
11 11 {% elif bumpable %}
12 12 <div class="post" id="{{ post.id }}">
13 13 {% else %}
14 14 <div class="post dead_post" id="{{ post.id }}">
15 15 {% endif %}
16 16
17 17 {% if post.image %}
18 18 <div class="image">
19 19 <a
20 20 class="thumb"
21 21 href="{{ post.image.url }}"><img
22 22 src="{{ post.image.url_200x150 }}"
23 23 alt="{{ post.id }}"
24 24 width="{{ post.image_pre_width }}"
25 25 height="{{ post.image_pre_height }}"
26 26 data-width="{{ post.image_width }}"
27 27 data-height="{{ post.image_height }}"/>
28 28 </a>
29 29 </div>
30 30 {% endif %}
31 31 <div class="message">
32 32 <div class="post-info">
33 33 <span class="title">{{ post.title }}</span>
34 34 <a class="post_id" href="{% post_object_url post thread=thread %}">
35 35 ({{ post.id }}) </a>
36 [<span class="pub_time">{{ post.pub_time }}</span>]
36 <span class="pub_time">{{ post.pub_time }}</span>
37 37 {% if thread.archived %}
38 β€” [{{ thread.bump_time }}]
38 β€” {{ thread.bump_time }}
39 39 {% endif %}
40 40 {% if not truncated and not thread.archived %}
41 41 [<a href="#" onclick="javascript:addQuickReply('{{ post.id }}')
42 42 ; return false;">&gt;&gt;</a>]
43 43 {% endif %}
44 44 {% if is_opening and need_open_link %}
45 45 {% if thread.archived %}
46 46 [<a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a>]
47 47 {% else %}
48 48 [<a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a>]
49 49 {% endif %}
50 50 {% endif %}
51 51
52 52 {% if moderator %}
53 53 <span class="moderator_info">
54 54 [<a href="{% url 'post_admin' post_id=post.id %}"
55 55 >{% trans 'Edit' %}</a>]
56 56 [<a href="{% url 'delete' post_id=post.id %}"
57 57 >{% trans 'Delete' %}</a>]
58 58 ({{ post.poster_ip }})
59 59 [<a href="{% url 'ban' post_id=post.id %}?next={{ request.path }}"
60 60 >{% trans 'Ban IP' %}</a>]
61 61 </span>
62 62 {% endif %}
63 63 </div>
64 64 {% autoescape off %}
65 65 {% if truncated %}
66 66 {{ post.text.rendered|truncatewords_html:50 }}
67 67 {% else %}
68 68 {{ post.text.rendered }}
69 69 {% endif %}
70 70 {% endautoescape %}
71 71 {% with refposts=post.get_sorted_referenced_posts %}
72 72 {% if refposts %}
73 73 <div class="refmap">
74 74 {% trans "Replies" %}:
75 75 {% for ref_post in refposts %}
76 76 <a href="{% post_object_url ref_post thread=thread %}">&gt;&gt;{{ ref_post.id }}</a>{% if not forloop.last %},{% endif %}
77 77 {% endfor %}
78 78 </div>
79 79 {% endif %}
80 80 {% endwith %}
81 81 </div>
82 82 {% endcache %}
83 83 {% if is_opening %}
84 84 {% cache 600 post_thread thread.id thread.last_edit_time LANGUAGE_CODE need_open_link %}
85 85 <div class="metadata">
86 86 {% if is_opening and need_open_link %}
87 87 {{ thread.get_images_count }} {% trans 'images' %}.
88 88 {% endif %}
89 89 <span class="tags">
90 90 {% for tag in thread.get_tags %}
91 91 <a class="tag" href="{% url 'tag' tag.name %}">
92 92 #{{ tag.name }}</a>{% if not forloop.last %},{% endif %}
93 93 {% endfor %}
94 94 </span>
95 95 </div>
96 96 {% endcache %}
97 97 {% endif %}
98 98 </div>
99 99 {% endspaceless %}
General Comments 0
You need to be logged in to leave comments. Login now