Commit d723e563 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

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

parents a38eb3ea f80f6c19
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
{/strip}{/if} {/strip}{/if}
{if $mnethost} {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="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> <span class="sr-only">{str tag=backto arg1=$mnethost.name}</span>
</a> </a>
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
</a> </a>
{/if} {/if}
{if $loginas} {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="icon-user-secret icon icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{$loginas}</span> <span class="sr-only">{$loginas}</span>
</a> </a>
{if $USER->get('admin')} {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="icon-cogs icon icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=accountsettings section=admin}</span> <span class="sr-only">{str tag=accountsettings section=admin}</span>
</a> </a>
...@@ -21,14 +21,14 @@ ...@@ -21,14 +21,14 @@
{/if} {/if}
{if $canmessage} {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="icon-envelope icon icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag='sendmessage' section='group'}</span> <span class="sr-only">{str tag='sendmessage' section='group'}</span>
</a> </a>
{/if} {/if}
{if $relationship == 'existingfriend'} {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="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> <span class="sr-only">{str tag='removefromfriendslist' section='group'}</span>
</a> </a>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
{$newfriendform|safe} {$newfriendform|safe}
{elseif $relationship == 'none' && $friendscontrol == 'auth'} {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="icon-user-plus icon icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag='requestfriendship' section='group'}</span> <span class="sr-only">{str tag='requestfriendship' section='group'}</span>
</a> </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