Show More
@@ -1,57 +1,57 b'' | |||
|
1 | 1 | {% load staticfiles %} |
|
2 | 2 | {% load i18n %} |
|
3 | 3 | {% load static from staticfiles %} |
|
4 | 4 | |
|
5 | 5 | <!DOCTYPE html> |
|
6 | 6 | <html> |
|
7 | 7 | <head> |
|
8 | 8 | <link rel="stylesheet" type="text/css" |
|
9 | 9 | href="{% static 'css/base.css' %}" media="all"/> |
|
10 | 10 | <link rel="stylesheet" type="text/css" |
|
11 | 11 | href="{% static theme_css %}" media="all"/> |
|
12 | 12 | <link rel="alternate" type="application/rss+xml" href="rss/" title= |
|
13 | 13 | "{% trans 'Feed' %}"/> |
|
14 | 14 | |
|
15 | 15 | <link rel="icon" type="image/png" |
|
16 | 16 | href="{% static 'favicon.png' %}"> |
|
17 | 17 | |
|
18 | 18 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
|
19 | 19 | <meta charset="utf-8"/> |
|
20 | 20 | |
|
21 | 21 | {% block head %}{% endblock %} |
|
22 | 22 | </head> |
|
23 | 23 | <body> |
|
24 | 24 | <script src="{% static 'js/jquery-2.0.1.min.js' %}"></script> |
|
25 | 25 | <script src="{% static 'js/jquery-ui-1.10.3.custom.min.js' %}"></script> |
|
26 | 26 | <script src="{% static 'js/jquery.mousewheel.js' %}"></script> |
|
27 | 27 | <script src="{% url 'django.views.i18n.javascript_catalog' %}"></script> |
|
28 | 28 | <script src="{% static 'js/panel.js' %}"></script> |
|
29 | 29 | <script src="{% static 'js/popup.js' %}"></script> |
|
30 | 30 | <script src="{% static 'js/image.js' %}"></script> |
|
31 | 31 | <script src="{% static 'js/main.js' %}"></script> |
|
32 | 32 | |
|
33 | 33 | <div class="navigation_panel"> |
|
34 | 34 | <a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a> |
|
35 | 35 | {% for tag in tags %} |
|
36 | 36 | <a class="tag" href="{% url 'tag' tag_name=tag.name %}" |
|
37 | >{{ tag.name }}</a> | |
|
37 | >#{{ tag.name }}</a> | |
|
38 | 38 | {% endfor %} |
|
39 | 39 | <a class="tag" href="{% url 'tags' %}" title="{% trans 'Tag management' %}" |
|
40 | 40 | >[...]</a> |
|
41 | 41 | <a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a> |
|
42 | 42 | </div> |
|
43 | 43 | |
|
44 | 44 | {% block content %}{% endblock %} |
|
45 | 45 | |
|
46 | 46 | <div class="navigation_panel"> |
|
47 | 47 | {% block metapanel %}{% endblock %} |
|
48 | 48 | [<a href="{% url "login" %}">{% trans 'Login' %}</a>] |
|
49 | 49 | <a class="link" href="#top">{% trans 'Up' %}</a> |
|
50 | 50 | </div> |
|
51 | 51 | |
|
52 | 52 | <div class="footer"> |
|
53 | 53 | <!-- Put your banners here --> |
|
54 | 54 | </div> |
|
55 | 55 | |
|
56 | 56 | </body> |
|
57 | 57 | </html> |
@@ -1,41 +1,41 b'' | |||
|
1 | 1 | {% extends "boards/base.html" %} |
|
2 | 2 | |
|
3 | 3 | {% load i18n %} |
|
4 | 4 | {% load markup %} |
|
5 | 5 | |
|
6 | 6 | {% block head %} |
|
7 | 7 | <title>Neboard - {% trans "Tags" %}</title> |
|
8 | 8 | {% endblock %} |
|
9 | 9 | |
|
10 | 10 | {% block content %} |
|
11 | 11 | |
|
12 | 12 | <div class="post"> |
|
13 | 13 | {% if all_tags %} |
|
14 | 14 | {% for tag in all_tags %} |
|
15 | 15 | {% if tag in user.fav_tags.all %} |
|
16 | 16 | <a href="{% url 'tag_unsubscribe' tag.name %}?next={{ request.path }}" |
|
17 | 17 | class="fav">★</a> |
|
18 | 18 | {% else %} |
|
19 | 19 | <a href="{% url 'tag_subscribe' tag.name %}?next={{ request.path }}" |
|
20 | 20 | class="not_fav">★</a> |
|
21 | 21 | {% endif %} |
|
22 | 22 | <a class="tag" href="{% url 'tag' tag.name %}"> |
|
23 | {{ tag.name }}</a> | |
|
23 | #{{ tag.name }}</a> | |
|
24 | 24 | ({{ tag.get_post_count }} {% trans 'threads' %}) |
|
25 | 25 | {% if tag.linked %} |
|
26 | 26 | ( + |
|
27 | 27 | {% for linked_tag in tag.get_linked_tags %} |
|
28 | 28 | <a class="tag" href="{% url 'tag' linked_tag.name %}"> |
|
29 | {{ linked_tag.name }} | |
|
29 | #{{ linked_tag.name }} | |
|
30 | 30 | </a> |
|
31 | 31 | {% endfor %} |
|
32 | 32 | ) |
|
33 | 33 | {% endif %} |
|
34 | 34 | <br /> |
|
35 | 35 | {% endfor %} |
|
36 | 36 | {% else %} |
|
37 | 37 | {% trans 'No tags found.' %} |
|
38 | 38 | {% endif %} |
|
39 | 39 | </div> |
|
40 | 40 | |
|
41 | 41 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now