Commit 267b74911b076bf6dd6f678f5f67eae975793b52
1 parent
4adb7f10
Exists in
master
and in
3 other branches
removing settings
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
amadeus/templates/base.html
... | ... | @@ -88,6 +88,9 @@ |
88 | 88 | </form> |
89 | 89 | </div> |
90 | 90 | <ul class="nav navbar-nav navbar-right notifications"> |
91 | + {% if user.is_staff %} | |
92 | + | |
93 | + | |
91 | 94 | <li class="dropdown-accordion dropdown" data-accordion="#system_accordion" title data-original-title="{% trans 'settings' %}"> |
92 | 95 | <a href="#" data-toggle="dropdown"><i class="fa fa-cog" aria-hidden="true"></i></a> |
93 | 96 | <ul class="dropdown-menu pull-right" role="menu"> |
... | ... | @@ -115,6 +118,7 @@ |
115 | 118 | </li> |
116 | 119 | </ul> |
117 | 120 | </li> |
121 | + {% endif %} | |
118 | 122 | <li title data-original-title="{% trans 'account' %}"> |
119 | 123 | <a href="" data-toggle="dropdown" style="padding-top: 15px;padding-bottom:15px;"> |
120 | 124 | <img src="{{ user.image_url }}" style="width:30px;height:30px" /> | ... | ... |