Commit 2e1e124a94736f9f7205caefb8caa8cf571e306f

Authored by Alexis Koralewski
1 parent 6f505a1d
Exists in dev

fixing who can see period in settings page

src/core/pyros_django/dashboard/templates/dashboard/settings.html
... ... @@ -85,7 +85,6 @@
85 85 <div class="setting-section">
86 86 <ul class="setting-grid">
87 87  
88   - {% if USER_LEVEL|ifinlist:"Admin,Unit-PI,Unit-board" %}
89 88 {% comment %}
90 89 <li>
91 90 <div class="setting-box setting-img-system">
... ... @@ -115,6 +114,7 @@
115 114 </div>
116 115 </li>
117 116 {% endcomment %}
  117 + {% if CAN_VIEW_PERIOD %}
118 118 <li>
119 119 <div class="setting-box">
120 120 <a href="{% url "period_list" %}">
... ...