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