Commit 6ae314936e143fc48070b7abdca9aa4bbc06b49b

Authored by Zambom
1 parent cf8194c2

Pendencies adjusts

amadeus/templates/base.html
... ... @@ -235,7 +235,7 @@
235 235 <i class="fa fa-envelope-o" aria-hidden="true"></i>
236 236 </li>
237 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 239 <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
240 240 {% if notifications_count > 0 %}
241 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 34 url(r'^mailsender/', include('mailsender.urls', namespace = 'mailsender')),
35 35 url(r'^security/', include('security.urls', namespace = 'security')),
36 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 38 url(r'^links/', include('links.urls', namespace='links')),
39 39 #API
40 40 url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
... ...
notifications/templates/notifications/index.html
... ... @@ -53,7 +53,7 @@
53 53 {% else %}
54 54 <div class="text-center no-subjects">
55 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 57 </div>
58 58 {% endif %}
59 59  
... ...