Commit 6ae314936e143fc48070b7abdca9aa4bbc06b49b

Authored by Zambom
1 parent cf8194c2

Pendencies adjusts

amadeus/templates/base.html
@@ -235,7 +235,7 @@ @@ -235,7 +235,7 @@
235 <i class="fa fa-envelope-o" aria-hidden="true"></i> 235 <i class="fa fa-envelope-o" aria-hidden="true"></i>
236 </li> 236 </li>
237 <li class="item action_icon" data-toggle="tooltip" data-placement="top" title="{% trans "Pendencias" %}"> 237 <li class="item action_icon" data-toggle="tooltip" data-placement="top" title="{% trans "Pendencias" %}">
238 - <a href=""> 238 + <a href="{% url 'notifications:manage' %}">
239 <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> 239 <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
240 {% if notifications_count > 0 %} 240 {% if notifications_count > 0 %}
241 <span class="badge notify_badge">{% if notifications_count > 99 %} +99 {% else %} {{ notifications_count }} {% endif %}</span> 241 <span class="badge notify_badge">{% if notifications_count > 99 %} +99 {% else %} {{ notifications_count }} {% endif %}</span>
amadeus/urls.py
@@ -34,7 +34,7 @@ urlpatterns = [ @@ -34,7 +34,7 @@ urlpatterns = [
34 url(r'^mailsender/', include('mailsender.urls', namespace = 'mailsender')), 34 url(r'^mailsender/', include('mailsender.urls', namespace = 'mailsender')),
35 url(r'^security/', include('security.urls', namespace = 'security')), 35 url(r'^security/', include('security.urls', namespace = 'security')),
36 url(r'^themes/', include('themes.urls', namespace = 'themes')), 36 url(r'^themes/', include('themes.urls', namespace = 'themes')),
37 - url(r'^notifications/', include('notifications.urls', namespace = 'notifications')), 37 + url(r'^pendencies/', include('notifications.urls', namespace = 'notifications')),
38 url(r'^links/', include('links.urls', namespace='links')), 38 url(r'^links/', include('links.urls', namespace='links')),
39 #API 39 #API
40 url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')), 40 url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
notifications/templates/notifications/index.html
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
53 {% else %} 53 {% else %}
54 <div class="text-center no-subjects"> 54 <div class="text-center no-subjects">
55 <i class="fa fa-exclamation-triangle"></i> 55 <i class="fa fa-exclamation-triangle"></i>
56 - <h4>{% trans 'You do not posses any pendency in this subject' %}</h4> 56 + <h4>{% trans 'You do not posses any pendency.' %}</h4>
57 </div> 57 </div>
58 {% endif %} 58 {% endif %}
59 59