Browse Source

add 'administrator' checks to /user/edit.html template.

Some links were being shown to non-administrators. This check fixes that.
stable
Craig Oates 2 years ago
parent
commit
3d24084e24
  1. 2
      templates/user/edit.html

2
templates/user/edit.html

@ -12,6 +12,7 @@
src="/images/icons/dashboard.png">
View Dashboard
</a>
{% if roles.administrator %}
<a class="be-gui-link"
title="Click to view all accounts"
href="/users">
@ -19,6 +20,7 @@
src="/images/icons/all-accounts.png">
Manage Accounts
</a>
{% endif %}
</div>
<form class="be-gui-form"

Loading…
Cancel
Save