{if $login->isAdmin()}
<a id="prefs" href="{path_for name="preferences"}" title="{_T string="Set applications preferences (address, website, member's cards configuration, ...)"}">{_T string="Settings"}</a>
<a id="plugins" href="{path_for name="plugins"}" title="{_T string="Information about available plugins"}">{_T string="Plugins"}</a>
+ {/if}
{* Include plugins user dashboard *}
{$plugins->getDashboard($tpl)}
- {/if}
{else}
{* Single member *}
<a id="members" href="{path_for name="me"}" title="{_T string="View my member card"}">{_T string="My information"}</a>
{function name=draw_actions}
<td class="{$rclass} center nowrap actions_row">
+{if $member->canEdit($login)}
<a
href="{path_for name="editMember" data=["id" => $member->id]}"
class="tooltip action"
<i class="fas fa-user-edit fa-fw" aria-hidden="true"></i>
<span class="sr-only">{_T string="%membername: edit information" pattern="/%membername/" replace=$member->sname}</span>
</a>
+{/if}
{if $login->isAdmin() or $login->isStaff()}
<a
href="{path_for name="contributions" data=["type" => "contributions", "option" => "member", "value" => $member->id]}"
</li>
{/if}
{/if}
+{if $member->canEdit($login)}
<li>
<a
href="{path_for name="editMember" data=["id" => $member->id]}"
{_T string="Modification"}
</a>
</li>
+{/if}
{if $login->isAdmin() or $login->isStaff() || $login->id eq $member->id || ($member->hasParent() and $member->parent->id eq $login->id)}
<li>
<a