Browse Source

move /user/edit link out of administrator check in dashboard.html.

Non-administrator's will now be able to see the 'Account Details' link
when viewing the /dashboard page. It was a mistake I hadn't caught.
stable
Craig Oates 2 years ago
parent
commit
0795a67f86
  1. 6
      templates/user/dashboard.html

6
templates/user/dashboard.html

@ -218,13 +218,13 @@
<div class="be-dashboard-section">
<div class="be-dashboard-section-list">
<h2>Accounts and Settings</h2>
{% if roles.administrator %}
<a class="be-gui-link" href="/user/edit">
<h2>Accounts and Settings</h2>
<a class="be-gui-link" href="/user/edit">
<img alt="Edit Profile"
src="/images/icons/profile.png">
Account Details
</a>
{% if roles.administrator %}
<a class="be-gui-link" href="/users">
<img alt="Manage Accounts"
src="/images/icons/index.png">

Loading…
Cancel
Save