##// END OF EJS Templates
Show reply map above metadata in thread list
neko259 -
r309:6ba66981 default
parent child Browse files
Show More
@@ -70,6 +70,14 b''
70 {% autoescape off %}
70 {% autoescape off %}
71 {{ thread.thread.text.rendered|truncatewords_html:50 }}
71 {{ thread.thread.text.rendered|truncatewords_html:50 }}
72 {% endautoescape %}
72 {% endautoescape %}
73 {% if thread.thread.referenced_posts.all %}
74 <div class="refmap">
75 {% trans "Replies" %}:
76 {% for ref_post in thread.thread.referenced_posts.all %}
77 <a href="{% url 'jumper' ref_post.id %}">&gt;&gt;{{ ref_post.id }}</a>
78 {% endfor %}
79 </div>
80 {% endif %}
73 </div>
81 </div>
74 <div class="metadata">
82 <div class="metadata">
75 {{ thread.thread.get_reply_count }} {% trans 'replies' %},
83 {{ thread.thread.get_reply_count }} {% trans 'replies' %},
@@ -84,14 +92,6 b''
84 </span>
92 </span>
85 {% endif %}
93 {% endif %}
86 </div>
94 </div>
87 {% if thread.thread.referenced_posts.all %}
88 <div class="refmap">
89 {% trans "Replies" %}:
90 {% for ref_post in thread.thread.referenced_posts.all %}
91 <a href="{% url 'jumper' ref_post.id %}">&gt;&gt;{{ ref_post.id }}</a>
92 {% endfor %}
93 </div>
94 {% endif %}
95 </div>
95 </div>
96 {% if thread.thread.get_last_replies.exists %}
96 {% if thread.thread.get_last_replies.exists %}
97 <div class="last-replies">
97 <div class="last-replies">
General Comments 0
You need to be logged in to leave comments. Login now