Commit f80f6c19 authored by Robert Lyon's avatar Robert Lyon

Bug 1815829: Adding link titles to the page/profile action links

To make easier to know what the links do

behatnotneeded

Change-Id: Id436d852ce8e5adf176f4ef076a9278c315e885b
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent bf3b1c8f
......@@ -8,7 +8,7 @@
{/strip}{/if}
{if $mnethost}
<a href="{$mnethost.url}" class="btn btn-secondary">
<a href="{$mnethost.url}" class="btn btn-secondary" title="{str tag=backto arg1=$mnethost.name}">
<span class="icon icon-long-arrow-right icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=backto arg1=$mnethost.name}</span>
</a>
......
......@@ -7,13 +7,13 @@
</a>
{/if}
{if $loginas}
<a href="{$WWWROOT}admin/users/changeuser.php?id={$USERID}" class="btn-login btn btn-secondary">
<a href="{$WWWROOT}admin/users/changeuser.php?id={$USERID}" class="btn-login btn btn-secondary" title="{$loginas}">
<span class="icon-user-secret icon icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{$loginas}</span>
</a>
{if $USER->get('admin')}
<a href="{$WWWROOT}admin/users/edit.php?id={$USERID}" class="btn-edit btn btn-secondary">
<a href="{$WWWROOT}admin/users/edit.php?id={$USERID}" class="btn-edit btn btn-secondary" title="{str tag=accountsettings section=admin}">
<span class="icon-cogs icon icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=accountsettings section=admin}</span>
</a>
......@@ -21,14 +21,14 @@
{/if}
{if $canmessage}
<a href="{$WWWROOT}{if $mrmoduleactive}module/multirecipientnotification{else}user{/if}/sendmessage.php?id={$USERID}&amp;returnto=view" class="btn-message btn btn-secondary">
<a href="{$WWWROOT}{if $mrmoduleactive}module/multirecipientnotification{else}user{/if}/sendmessage.php?id={$USERID}&amp;returnto=view" class="btn-message btn btn-secondary" title="{str tag='sendmessage' section='group'}">
<span class="icon-envelope icon icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag='sendmessage' section='group'}</span>
</a>
{/if}
{if $relationship == 'existingfriend'}
<a href="{$WWWROOT}user/removefriend.php?id={$USERID}&amp;returnto=view" class="btn-del btn btn-secondary">
<a href="{$WWWROOT}user/removefriend.php?id={$USERID}&amp;returnto=view" class="btn-del btn btn-secondary" title="{str tag='removefromfriendslist' section='group'}">
<span class="icon-user-times icon icon-lg left text-danger" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag='removefromfriendslist' section='group'}</span>
</a>
......@@ -38,7 +38,7 @@
{$newfriendform|safe}
{elseif $relationship == 'none' && $friendscontrol == 'auth'}
<a href="{$WWWROOT}user/requestfriendship.php?id={$USERID}&amp;returnto=view" class="btn-friend btn btn-secondary">
<a href="{$WWWROOT}user/requestfriendship.php?id={$USERID}&amp;returnto=view" class="btn-friend btn btn-secondary" title="{str tag='requestfriendship' section='group'}">
<span class="icon-user-plus icon icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag='requestfriendship' section='group'}</span>
</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment