|
@@ -64,24 +64,24 @@
|
|
</li>
|
|
</li>
|
|
{% if user.acl.moderated_forums %}
|
|
{% if user.acl.moderated_forums %}
|
|
<li>
|
|
<li>
|
|
- <a href="{% url 'misago:moderated_content' %}" class="tooltip-bottom" {% if user.moderated_content %}
|
|
|
|
|
|
+ <a href="{% url 'misago:moderated_content' %}" class="tooltip-bottom" data-misago-tooltip="moderated_content.message" {% if user.moderated_content %}
|
|
title="{% blocktrans with moderated=user.moderated_content count counter=user.moderated_content %}{{ moderated }} item in moderation{% plural %}{{ moderated }} items in moderation{% endblocktrans %}"
|
|
title="{% blocktrans with moderated=user.moderated_content count counter=user.moderated_content %}{{ moderated }} item in moderation{% plural %}{{ moderated }} items in moderation{% endblocktrans %}"
|
|
{% else %}
|
|
{% else %}
|
|
title="{% trans "Moderated content" %}"
|
|
title="{% trans "Moderated content" %}"
|
|
{% endif %}>
|
|
{% endif %}>
|
|
<span class="fa fa-eye-slash fa-fw"></span>
|
|
<span class="fa fa-eye-slash fa-fw"></span>
|
|
- <span class="badge fade {{ user.moderated_content|iftrue:"in" }}" data-misago-badge="moderated_content">{{ user.moderated_content }}</span>
|
|
|
|
|
|
+ <span class="badge fade {{ user.moderated_content|iftrue:"in" }}" data-misago-badge="moderated_content.count">{{ user.moderated_content }}</span>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
{% endif %}
|
|
{% endif %}
|
|
<li>
|
|
<li>
|
|
- <a href="{% url 'misago:private_threads' %}" class="tooltip-bottom" {% if user.unread_private_threads %}
|
|
|
|
|
|
+ <a href="{% url 'misago:private_threads' %}" class="tooltip-bottom" data-misago-tooltip="private_threads.message" {% if user.unread_private_threads %}
|
|
title="{% blocktrans with unread=user.unread_private_threads count counter=user.unread_private_threads %}{{ unread }} unread private thread{% plural %}{{ unread }} unread private threads{% endblocktrans %}"
|
|
title="{% blocktrans with unread=user.unread_private_threads count counter=user.unread_private_threads %}{{ unread }} unread private thread{% plural %}{{ unread }} unread private threads{% endblocktrans %}"
|
|
{% else %}
|
|
{% else %}
|
|
title="{% trans "Private threads" %}"
|
|
title="{% trans "Private threads" %}"
|
|
{% endif %}>
|
|
{% endif %}>
|
|
<span class="fa fa-inbox fa-fw"></span>
|
|
<span class="fa fa-inbox fa-fw"></span>
|
|
- <span class="badge fade {{ user.unread_private_threads|iftrue:"in" }}" data-misago-badge="private_threads">{{ user.unread_private_threads }}</span>
|
|
|
|
|
|
+ <span class="badge fade {{ user.unread_private_threads|iftrue:"in" }}" data-misago-badge="private_threads.count">{{ user.unread_private_threads }}</span>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
<li class="user-notifications-nav dropdown">
|
|
<li class="user-notifications-nav dropdown">
|