Fixed error editing user

master
Mark Moffat 2019-11-06 21:18:16 +10:30
parent a87d2fbf0a
commit 060e2a74f9
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@
<span>{{ @root.__ "User" }}</span>
{{/isAnAdmin}}
{{#isAnAdmin ../session.isAdmin}}
<a href="/admin/user/edit/{{this._id}}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></a>
<a href="/admin/user/delete/{{this._id}}" onclick="return confirm('Are you sure you want to delete?')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a>
<a href="/admin/user/edit/{{../this._id}}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></a>
<a href="/admin/user/delete/{{../this._id}}" onclick="return confirm('Are you sure you want to delete?')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a>
{{/isAnAdmin}}
</span>
</li>