Slice-user-tab: add user button visible only to PIs
[unfold.git] / portal / templates / slice-tab-users-view.html
index 7d3dcbb..daefe94 100644 (file)
@@ -31,7 +31,9 @@
                        <th>Enabled</th>
                        </tr>
                </table>
-                               <button id="addusers" type="button" class="btn btn-default"><span class="glyphicon glyphicon-refresh"></span>Add users</button>
+                               {% if 'is_pi'  in pi %}
+                               <button id="addusers" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span>Add users</button>
+                               {%endif%}
                </div>
 <script>
     $(document).ready(function() {