##// END OF EJS Templates
Same as previous, but even more
neko259 -
r1310:c48ffdc6 2.9.0 default
parent child Browse files
Show More
@@ -1,39 +1,37 b''
1 1 {% extends "boards/base.html" %}
2 2
3 3 {% load i18n %}
4 4
5 5 {% block head %}
6 6 <title>{% trans 'Random images' %} - {{ site_name }}</title>
7 7 {% endblock %}
8 8
9 9 {% block content %}
10 10
11 11 {% if images %}
12 12 <div class="random-images-table">
13 13 <div>
14 14 {% for image in images %}
15 15 <div class="gallery_image">
16 16 {% autoescape off %}
17 17 {{ image.get_view }}
18 18 {% endautoescape %}
19 19 {% with image.get_random_associated_post as post %}
20 <a href="{{ post.get_absolute_url }}">>>{{ post.id }}</a>
20 {{ post.get_link_view|safe }}
21 21 <div>
22 22 {% for tag in post.get_thread.get_required_tags.all %}
23 {% autoescape off %}
24 {{ tag.get_view }}{% if not forloop.last %},{% endif %}
25 {% endautoescape %}
23 {{ tag.get_view|safe }}{% if not forloop.last %},{% endif %}
26 24 {% endfor %}
27 25 </div>
28 26 {% endwith %}
29 27 </div>
30 28 {% if forloop.counter|divisibleby:"3" %}
31 29 </div>
32 30 <div>
33 31 {% endif %}
34 32 {% endfor %}
35 33 </div>
36 34 </div>
37 35 {% endif %}
38 36
39 37 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now