show aliases when showing a group

This commit is contained in:
Evan Prodromou 2009-06-14 23:51:38 -07:00
parent 4a0c57f224
commit dda4493af7

View File

@ -272,6 +272,17 @@ class ShowgroupAction extends Action
$this->elementEnd('dl');
}
if (common_config('group', 'maxaliases') > 0) {
$aliases = $this->group->getAliases();
if (!empty($aliases)) {
$this->elementStart('dl', 'entity_aliases');
$this->element('dt', null, _('Aliases'));
$this->element('dd', 'aliases', implode(' ', $aliases));
$this->elementEnd('dl');
}
}
$this->elementEnd('div');
$this->elementStart('div', 'entity_actions');