##// END OF EJS Templates
Added post publication date to the templates.
neko259 -
r26:67f0542d default
parent child Browse files
Show More
@@ -28,11 +28,11 b' html {'
28 }
28 }
29
29
30 .link {
30 .link {
31 color: #33bb33;
31 color: #829dba;
32 }
32 }
33
33
34 .link:hover {
34 .link:hover {
35 color: #00ff00;
35 color: #ba9f82;
36 }
36 }
37
37
38 .post_id {
38 .post_id {
@@ -45,9 +45,13 b' html {'
45 }
45 }
46
46
47 .tag {
47 .tag {
48 color: #bb7766;
48 color: #b4cfec;
49 }
49 }
50
50
51 .tag:hover {
51 .tag:hover {
52 color: #dd8888;
52 color: #d0edb4;
53 }
54
55 .post_id {
56 color: #fff380;
53 } No newline at end of file
57 }
@@ -15,6 +15,8 b''
15 {% endif %}
15 {% endif %}
16 <div class="block">
16 <div class="block">
17 <span class="title">{{ thread.title }}</span>
17 <span class="title">{{ thread.title }}</span>
18 <span class="post_id">(#{{ thread.id }})</span>
19 [{{ thread.pub_time }}]
18 <a class="link" href="/thread/{{ thread.id }}/">
20 <a class="link" href="/thread/{{ thread.id }}/">
19 [{% trans "View" %}]</a><br />
21 [{% trans "View" %}]</a><br />
20 {{ thread.text }}<br />
22 {{ thread.text }}<br />
@@ -15,16 +15,17 b''
15 {% endif %}
15 {% endif %}
16 <div class="block">
16 <div class="block">
17 <span class="title">{{ post.title }}</span>
17 <span class="title">{{ post.title }}</span>
18 <span class="post_id">(#{{ post.id }})</span><br />
18 <span class="post_id">(#{{ post.id }})</span>
19 [{{ post.pub_time }}]<br />
19 {{ post.text }}<br />
20 {{ post.text }}<br />
20 {% if post.tags %}
21 {% ifnotequal post.tags.all|length 0 %}
21 <span class="tags">{% trans 'Tags' %}:
22 <span class="tags">{% trans 'Tags' %}:
22 {% for tag in post.tags.all %}
23 {% for tag in post.tags.all %}
23 <a class="tag" href="/tag/{{ tag.name }}">
24 <a class="tag" href="/tag/{{ tag.name }}">
24 {{ tag.name }}</a>
25 {{ tag.name }}</a>
25 {% endfor %}
26 {% endfor %}
26 </span>
27 </span>
27 {% endif %}
28 {% endifnotequal %}
28 </div>
29 </div>
29 <hr />
30 <hr />
30 {% endfor %}
31 {% endfor %}
General Comments 0
You need to be logged in to leave comments. Login now