##// END OF EJS Templates
Show each new tag letter in the new line
neko259 -
r1268:59984fb1 default
parent child Browse files
Show More
@@ -1,47 +1,47 b''
1 1 {% extends "boards/base.html" %}
2 2
3 3 {% load i18n %}
4 4
5 5 {% block head %}
6 6 <title>Neboard - {% trans "Tags" %}</title>
7 7 {% endblock %}
8 8
9 9 {% block content %}
10 10
11 11 {% regroup section_tags by get_first_letter as section_tag_list %}
12 12 {% regroup all_tags by get_first_letter as other_tag_list %}
13 13
14 14 <div class="post">
15 15 {% if section_tags %}
16 16 <div>
17 17 {% trans 'Sections:' %}
18 18 {% for letter in section_tag_list %}
19 ({{ letter.grouper|upper }})
19 <br />({{ letter.grouper|upper }})
20 20 {% for tag in letter.list %}
21 21 {% autoescape off %}
22 22 {{ tag.get_view }}{% if not forloop.last %},{% endif %}
23 23 {% endautoescape %}
24 24 {% endfor %}
25 25 {% endfor %}
26 26 </div>
27 27 {% endif %}
28 28 {% if all_tags %}
29 29 <div>
30 30 {% trans 'Other tags:' %}
31 31 {% for letter in other_tag_list %}
32 ({{ letter.grouper|upper }})
32 <br />({{ letter.grouper|upper }})
33 33 {% for tag in letter.list %}
34 34 {% autoescape off %}
35 35 {{ tag.get_view }}{% if not forloop.last %},{% endif %}
36 36 {% endautoescape %}
37 37 {% endfor %}
38 38 {% endfor %}
39 39 </div>
40 40 {% endif %}
41 41
42 42 {% if query %}
43 43 <div><a href="{% url 'tags' %}">{% trans 'All tags...' %}</a></div>
44 44 {% endif %}
45 45 </div>
46 46
47 47 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now