##// END OF EJS Templates
Don't show notification count if it is 0
neko259 -
r1048:a79fce74 default
parent child Browse files
Show More
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -7,7 +7,7 b' msgid ""'
7 msgstr ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "Report-Msgid-Bugs-To: \n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2015-03-23 16:38+0200\n"
10 "POT-Creation-Date: 2015-03-24 13:29+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -164,28 +164,25 b' msgstr "\xd0\x92\xd1\x81\xd0\xb5 \xd1\x82\xd0\xb5\xd0\xbc\xd1\x8b"'
164 msgid "Tag management"
164 msgid "Tag management"
165 msgstr "Управление метками"
165 msgstr "Управление метками"
166
166
167 #: templates/boards/base.html:39 templates/boards/notifications.html:8
167 #: templates/boards/base.html:39 templates/boards/base.html.py:40
168 #: templates/boards/notifications.html:8
168 msgid "Notifications"
169 msgid "Notifications"
169 msgstr "Уведомления"
170 msgstr "Уведомления"
170
171
171 #: templates/boards/base.html:39
172 #: templates/boards/base.html:47 templates/boards/settings.html:8
172 msgid "notifications"
173 msgstr "уведомлений"
174
175 #: templates/boards/base.html:42 templates/boards/settings.html:8
176 msgid "Settings"
173 msgid "Settings"
177 msgstr "Настройки"
174 msgstr "Настройки"
178
175
179 #: templates/boards/base.html:55
176 #: templates/boards/base.html:60
180 msgid "Admin"
177 msgid "Admin"
181 msgstr "Администрирование"
178 msgstr "Администрирование"
182
179
183 #: templates/boards/base.html:57
180 #: templates/boards/base.html:62
184 #, python-format
181 #, python-format
185 msgid "Speed: %(ppd)s posts per day"
182 msgid "Speed: %(ppd)s posts per day"
186 msgstr "Скорость: %(ppd)s сообщений в день"
183 msgstr "Скорость: %(ppd)s сообщений в день"
187
184
188 #: templates/boards/base.html:59
185 #: templates/boards/base.html:64
189 msgid "Up"
186 msgid "Up"
190 msgstr "Вверх"
187 msgstr "Вверх"
191
188
@@ -371,14 +368,3 b' msgstr "\xd0\x9e\xd1\x82\xd0\xb2\xd0\xb5\xd1\x82\xd0\xb8\xd1\x82\xd1\x8c \xd0\xb2 \xd1\x82\xd0\xb5\xd0\xbc\xd1\x83"'
371 msgid "Update"
368 msgid "Update"
372 msgstr "Обновить"
369 msgstr "Обновить"
373
370
374 #~ msgid "Login"
375 #~ msgstr "Вход"
376
377 #~ msgid "Insert your user id above"
378 #~ msgstr "Вставьте свой ID пользователя выше"
379
380 #~ msgid "Show tag"
381 #~ msgstr "Показывать метку"
382
383 #~ msgid "Hide tag"
384 #~ msgstr "Скрывать метку"
@@ -36,7 +36,12 b''
36 <a href="{% url 'search' %}" title="{% trans 'Search' %}">[S]</a>.
36 <a href="{% url 'search' %}" title="{% trans 'Search' %}">[S]</a>.
37
37
38 {% if username %}
38 {% if username %}
39 <a href="{% url 'notifications' username %}" title="{% trans 'Notifications' %}"><b>{{ new_notifications_count }}</b> {% trans 'notifications' %}</a>.
39 <a href="{% url 'notifications' username %}" title="{% trans 'Notifications' %}">
40 {% trans 'Notifications' %}
41 {% ifnotequal new_notifications_count 0 %}
42 (<b>{{ new_notifications_count }}</b>)
43 {% endifnotequal %}
44 </a>
40 {% endif %}
45 {% endif %}
41
46
42 <a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a>
47 <a class="link" href="{% url 'settings' %}">{% trans 'Settings' %}</a>
General Comments 0
You need to be logged in to leave comments. Login now