Show More
@@ -1,28 +1,27 b'' | |||||
1 | {% extends "boards/base.html" %} |
|
1 | {% extends "boards/base.html" %} | |
2 |
|
2 | |||
3 | {% load i18n %} |
|
3 | {% load i18n %} | |
4 |
|
4 | |||
5 | {% block head %} |
|
5 | {% block head %} | |
6 | <title>{{ site_name }} - {% trans "Tags" %}</title> |
|
6 | <title>{{ site_name }} - {% trans "Tags" %}</title> | |
7 | {% endblock %} |
|
7 | {% endblock %} | |
8 |
|
8 | |||
9 | {% block content %} |
|
9 | {% block content %} | |
10 |
|
10 | |||
11 | {% regroup all_tags by get_first_letter as other_tag_list %} |
|
11 | {% regroup all_tags by get_first_letter as other_tag_list %} | |
12 |
|
12 | |||
13 |
<div |
|
13 | <div id="posts-table"> | |
14 | {% if all_tags %} |
|
14 | {% if all_tags %} | |
15 | <div> |
|
15 | <div> | |
16 | {% for letter in other_tag_list %} |
|
16 | {% for letter in other_tag_list %} | |
17 |
|
|
17 | ({{ letter.grouper|upper }}) | |
18 | {% for tag in letter.list %} |
|
18 | {% for tag in letter.list %} | |
19 | {% autoescape off %} |
|
19 | {{ tag.get_view|safe }}{% if not forloop.last %},{% endif %} | |
20 | {{ tag.get_view }}{% if not forloop.last %},{% endif %} |
|
|||
21 | {% endautoescape %} |
|
|||
22 | {% endfor %} |
|
20 | {% endfor %} | |
|
21 | {% if not forloop.last %}<br />{% endif %} | |||
23 | {% endfor %} |
|
22 | {% endfor %} | |
24 | </div> |
|
23 | </div> | |
25 | {% endif %} |
|
24 | {% endif %} | |
26 | </div> |
|
25 | </div> | |
27 |
|
26 | |||
28 | {% endblock %} |
|
27 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now