Transifex

This commit is contained in:
Ariel Rin
2021-10-26 08:45:37 +00:00
parent f0ec16be4e
commit 4aae85a70f
25 changed files with 2003 additions and 1236 deletions

View File

@@ -1,8 +1,9 @@
{% load i18n %}
{% load auth_notifications %}
{% with unread_count=request.user|user_unread_notification_count %}
{% if unread_count > 0 %}
<a href="{% url 'notifications:list' %}">Notifications
<a href="{% url 'notifications:list' %}">{% translate "Notifications" %}
<span class="badge">{{ unread_count }}</span>
</a>
{% else %}

View File

@@ -5,7 +5,7 @@
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".auth-menus-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="sr-only">{% translate "Toggle navigation" %}</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@@ -20,7 +20,7 @@
<div class="collapse navbar-collapse auth-menus-collapse">
<ul class="nav navbar-nav navbar-right navbar-pills">
<li class="nav-item-eve-time">
<div class="eve-time-wrapper">Eve Time: <span class="eve-time-clock"></span></div>
<div class="eve-time-wrapper">{% translate "Eve Time" %}: <span class="eve-time-clock"></span></div>
</li>
<li class="{% navactive request 'notifications:' %}" id="menu_item_notifications">
{% include 'allianceauth/notifications_menu_item.html' %}