##// END OF EJS Templates
Other lookalike of favorite threads list
neko259 -
r1325:96250c6d default
parent child Browse files
Show More
@@ -1,87 +1,86 b''
1 1 {% load staticfiles %}
2 2 {% load i18n %}
3 3 {% load l10n %}
4 4 {% load static from staticfiles %}
5 5
6 6 <!DOCTYPE html>
7 7 <html>
8 8 <head>
9 9 <link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}" media="all"/>
10 10 <link rel="stylesheet" type="text/css" href="{% static 'css/3party/highlight.css' %}" media="all"/>
11 11 <link rel="stylesheet" type="text/css" href="{% static 'css/3party/jquery-ui.min.css' %}" media="all"/>
12 12 <link rel="stylesheet" type="text/css" href="{% static theme_css %}" media="all"/>
13 13
14 14 <link rel="alternate" type="application/rss+xml" href="rss/" title="{% trans 'Feed' %}"/>
15 15
16 16 <link rel="icon" type="image/png"
17 17 href="{% static 'favicon.png' %}">
18 18
19 19 <meta name="viewport" content="width=device-width, initial-scale=1"/>
20 20 <meta charset="utf-8"/>
21 21
22 22 {% block head %}{% endblock %}
23 23 </head>
24 24 <body data-image-viewer="{{ image_viewer }}">
25 25 <script src="{% static 'js/jquery-2.0.1.min.js' %}"></script>
26 26 <script src="{% static 'js/3party/jquery-ui.min.js' %}"></script>
27 27 <script src="{% static 'js/jquery.mousewheel.js' %}"></script>
28 28 <script src="{% url 'js_info_dict' %}"></script>
29 29
30 30 <div class="navigation_panel header">
31 <div>
32 31 <a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a>
33 32 {% if tags_str %}
34 33 {% autoescape off %}
35 34 {{ tags_str }},
36 35 {% endautoescape %}
37 36 {% else %}
38 37 {% trans 'Add tags' %} →
39 38 {% endif %}
40 39 <a href="{% url 'tags' 'required'%}" title="{% trans 'Tag management' %}">{% trans "tags" %}</a>,
41 40 <a href="{% url 'search' %}" title="{% trans 'Search' %}">{% trans 'search' %}</a>,
42 41 <a href="{% url 'feed' %}" title="{% trans 'Feed' %}">{% trans 'feed' %}</a>,
43 42 <a href="{% url 'random' %}" title="{% trans 'Random images' %}">{% trans 'random' %}</a>
44 43
45 44 {% if username %}
46 45 <a class="right-link link" href="{% url 'notifications' username %}" title="{% trans 'Notifications' %}">
47 46 {% trans 'Notifications' %}
48 47 {% ifnotequal new_notifications_count 0 %}
49 48 (<b>{{ new_notifications_count }}</b>)
50 49 {% endifnotequal %}
51 50 </a>
52 51 {% endif %}
53 52
54 53 <a class="right-link link" href="{% url 'settings' %}">{% trans 'Settings' %}</a>
54 </div>
55
56 {% if fav_threads %}
57 <div class="image-mode-tab">
58
59 {% for thread in fav_threads %}
60 {% comment %}
61 If there are new posts in the thread, show their count.
62 {% endcomment %}
63 {{ thread.0.get_link_view|safe }}{% if thread.1 %} (+{{ thread.1 }}){% endif %}{% if not forloop.last %}, {% endif %}
64 {% endfor %}
55 65 </div>
56 {% if fav_threads %}
57 <div>
58 <span class="fav"></span>
59 {% for thread in fav_threads %}
60 {% comment %}
61 If there are new posts in the thread, show their count.
62 {% endcomment %}
63 {{ thread.0.get_link_view|safe }}{% if thread.1 %} (+{{ thread.1 }}){% endif %}{% if not forloop.last %}, {% endif %}
64 {% endfor %}
65 </div>
66 {% endif %}
67 </div>
66 {% endif %}
68 67
69 68 {% block content %}{% endblock %}
70 69
71 70 <script src="{% static 'js/3party/highlight.min.js' %}"></script>
72 71 <script src="{% static 'js/popup.js' %}"></script>
73 72 <script src="{% static 'js/image.js' %}"></script>
74 73 <script src="{% static 'js/refpopup.js' %}"></script>
75 74 <script src="{% static 'js/main.js' %}"></script>
76 75
77 76 <div class="navigation_panel footer">
78 77 {% block metapanel %}{% endblock %}
79 78 [<a href="{% url 'admin:index' %}">{% trans 'Admin' %}</a>]
80 79 {% with ppd=posts_per_day|floatformat:2 %}
81 80 {% blocktrans %}Speed: {{ ppd }} posts per day{% endblocktrans %}
82 81 {% endwith %}
83 82 <a class="link" href="#top" id="up">{% trans 'Up' %}</a>
84 83 </div>
85 84
86 85 </body>
87 86 </html>
General Comments 0
You need to be logged in to leave comments. Login now