File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22{% load has_notification from notifications_tags %}
33
44{% block right-nav %}
5+ < li class ="nav-item ">
6+ < hr class ="d-md-none my-2 text-white-50 ">
7+ </ li >
58 {% include 'navbar/navbar_theme_toogle.html' %}
69 {% if not user.is_authenticated and register_url %}
10+ < li class ="nav-item ">
11+ < hr class ="d-md-none my-2 text-white-50 ">
12+ </ li >
713 < li class ="nav-item ">
814 < a class ="nav-link " href ="{{ register_url }} "> < i class ="fas fa-user-plus "> </ i > {% trans 'Sign Up' %}</ a >
915 </ li >
1319 < a class ="nav-link " href ="{% url 'login' %} "> < i class ="fas fa-sign-in-alt "> </ i > {% trans 'Sign in' %}</ a >
1420 </ li >
1521 {% else %}
22+ < li class ="nav-item ">
23+ < hr class ="d-md-none my-2 text-white-50 ">
24+ </ li >
1625 < li class ="nav-item ">
1726 {% if user|has_notification %}
1827 < a class ="nav-link px-md-3 position-relative " href ="{% url 'notifications:unread' %} " title ="Unread notifications " data-bs-toggle ="tooltip " aria-label ="Unread notifications ">
2736 </ a >
2837 {% endif %}
2938 </ li >
39+ < li class ="nav-item ">
40+ < hr class ="d-md-none my-2 text-white-50 ">
41+ </ li >
3042 < li class ="nav-item dropdown ">
3143 < button class ="btn nav-link dropdown-toggle " data-bs-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
3244 {% firstof user.first_name|truncatechars:10 user.username|truncatechars:10 %} ({{ user.dataspace|truncatechars:8 }})
You can’t perform that action at this time.
0 commit comments