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