Commit 4bbb0fe16423a55db9ed2ef654ee7241f8ab6e73
1 parent
3f292faf
Exists in
master
and in
3 other branches
Adding security settings link
Showing
5 changed files
with
19 additions
and
3 deletions
Show diff stats
amadeus/templates/base.html
... | ... | @@ -114,7 +114,7 @@ |
114 | 114 | <div class="panel-body"> |
115 | 115 | <ul class="submenu"> |
116 | 116 | <li><a href="{% url 'mailsender:update' %}">{% trans 'Mail Sender' %}</a></li> |
117 | - <li><a href="{% url 'categories:index' %}">{% trans 'Security' %}</a></li> | |
117 | + <li><a href="{% url 'security:update' %}">{% trans 'Security' %}</a></li> | |
118 | 118 | <li><a href="{% url 'categories:index' %}">{% trans 'Theme' %}</a></li> |
119 | 119 | </ul> |
120 | 120 | </div> | ... | ... |
amadeus/urls.py
... | ... | @@ -28,6 +28,7 @@ urlpatterns = [ |
28 | 28 | url(r'^categories/', include('categories.urls', namespace = 'categories')), |
29 | 29 | url(r'^subjects/', include('subjects.urls', namespace = 'subjects')), |
30 | 30 | url(r'^mailsender/', include('mailsender.urls', namespace = 'mailsender')), |
31 | + url(r'^security/', include('security.urls', namespace = 'security')), | |
31 | 32 | #API |
32 | 33 | url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')), |
33 | 34 | #S3Direct | ... | ... |
mailsender/templates/mailsender/update.html
... | ... | @@ -6,8 +6,7 @@ |
6 | 6 | |
7 | 7 | {% block breadcrumbs %} |
8 | 8 | {{ block.super }} |
9 | - {% breadcrumb 'Settings' 'subjects:home' %} | |
10 | - {% breadcrumb 'Mail Sender' 'mailsender:update' %} | |
9 | + {% breadcrumb 'Settings: Mail Sender' 'mailsender:update' %} | |
11 | 10 | {% endblock %} |
12 | 11 | |
13 | 12 | {% block content %} | ... | ... |
security/templates/security/update.html
... | ... | @@ -0,0 +1,10 @@ |
1 | +{% extends 'base.html' %} | |
2 | + | |
3 | +{% load static i18n %} | |
4 | +{% load widget_tweaks %} | |
5 | +{% load django_bootstrap_breadcrumbs %} | |
6 | + | |
7 | +{% block breadcrumbs %} | |
8 | + {{ block.super }} | |
9 | + {% breadcrumb 'Settings: Security' 'security:update' %} | |
10 | +{% endblock %} | |
0 | 11 | \ No newline at end of file | ... | ... |