Commit d35207dc authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Language string for Admin role in profile sideblock

parent 6c499818
......@@ -57,6 +57,7 @@ $string['reject'] = 'Reject';
$string['groupalreadyexists'] = 'A Group by this name already exists';
$string['Created'] = 'Created';
$string['groupadmins'] = 'Group admins';
$string['Admin'] = 'Admin';
$string['grouptype'] = 'Group Type';
$string['hasrequestedmembership'] = 'has requested membership of this group';
......
......@@ -30,7 +30,7 @@
<a href="{$WWWROOT}group/mygroups.php">{str tag="groups"}:</a>
<ul>
{foreach from=$data.groups item=group}
<li><a href="{$WWWROOT}group/view.php?id={$group->id}">{$group->name|escape}</a>{if $group->role == 'admin'} (admin){/if}</li>
<li><a href="{$WWWROOT}group/view.php?id={$group->id}">{$group->name|escape}</a>{if $group->role == 'admin'} ({str tag=Admin section=group}){/if}</li>
{/foreach}
</ul>
</li>
......
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