Commit ed0c534c authored by Melissa Draper's avatar Melissa Draper
Browse files

Fix group information display regression, following Bug #1045722



The display of these rows regressed from 1.5, and did not work
well if membership was hidden. This tweaks the info display so
it's formatted better.

Change-Id: Id2b1025296b9c32d2b4a377c990fb3531aeab4c7
Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
parent 6e16aac6
......@@ -2,10 +2,9 @@
{if $group->settingsdescription}<div class="grouplistdescription">{$group->settingsdescription}</div>{/if}
<div class="grouplistdescription">{$group->description|str_shorten_html:100:true|safe}</div>
{if $group->editwindow}
<div>{str tag=editable section=group}: {$group->editwindow}</div>
<div class="s">{str tag=editable section=group}: {$group->editwindow}</div>
{/if}
<div class="s">{str tag=groupadmins section=group}: {foreach name=admins from=$group->admins item=user}<a href="{profile_url($user)}">{$user|display_name}</a>{if !$.foreach.admins.last}, {/if}{/foreach}</div>
{if $group->membercount}
<div class="inline s"><a href="{$WWWROOT}group/members.php?id={$group->id}">{$group->membercount} {if $group->membercount > 1}{str tag=members section=group}{else}{str tag=member section=group}{/if}</a></div>
<div class="s"><a href="{$WWWROOT}group/members.php?id={$group->id}">{$group->membercount} {if $group->membercount > 1}{str tag=members section=group}{else}{str tag=member section=group}{/if}</a></div>
{/if}
<h6> - {foreach name=admins from=$group->admins item=user}<a href="{profile_url($user)}">{$user|display_name}</a>{if !$.foreach.admins.last}, {/if}{/foreach}</h6>
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