Commit 2e1e124a94736f9f7205caefb8caa8cf571e306f
1 parent
6f505a1d
Exists in
dev
fixing who can see period in settings page
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/core/pyros_django/dashboard/templates/dashboard/settings.html
@@ -85,7 +85,6 @@ | @@ -85,7 +85,6 @@ | ||
85 | <div class="setting-section"> | 85 | <div class="setting-section"> |
86 | <ul class="setting-grid"> | 86 | <ul class="setting-grid"> |
87 | 87 | ||
88 | - {% if USER_LEVEL|ifinlist:"Admin,Unit-PI,Unit-board" %} | ||
89 | {% comment %} | 88 | {% comment %} |
90 | <li> | 89 | <li> |
91 | <div class="setting-box setting-img-system"> | 90 | <div class="setting-box setting-img-system"> |
@@ -115,6 +114,7 @@ | @@ -115,6 +114,7 @@ | ||
115 | </div> | 114 | </div> |
116 | </li> | 115 | </li> |
117 | {% endcomment %} | 116 | {% endcomment %} |
117 | + {% if CAN_VIEW_PERIOD %} | ||
118 | <li> | 118 | <li> |
119 | <div class="setting-box"> | 119 | <div class="setting-box"> |
120 | <a href="{% url "period_list" %}"> | 120 | <a href="{% url "period_list" %}"> |