##// END OF EJS Templates
Added tags to random images
neko259 -
r1256:7ca9875a default
parent child Browse files
Show More
@@ -18,6 +18,13 b''
18 {% endautoescape %}
18 {% endautoescape %}
19 {% with image.get_random_associated_post as post %}
19 {% with image.get_random_associated_post as post %}
20 <a href="{{ post.get_absolute_url }}">>>{{ post.id }}</a>
20 <a href="{{ post.get_absolute_url }}">>>{{ post.id }}</a>
21 <div>
22 {% for tag in post.get_thread.tags.all %}
23 {% autoescape off %}
24 {{ tag.get_view }}{% if not forloop.last %},{% endif %}
25 {% endautoescape %}
26 {% endfor %}
27 </div>
21 {% endwith %}
28 {% endwith %}
22 </div>
29 </div>
23 {% if forloop.counter|divisibleby:"3" %}
30 {% if forloop.counter|divisibleby:"3" %}
General Comments 0
You need to be logged in to leave comments. Login now