Commit f2a98e23 authored by Evan Prodromou's avatar Evan Prodromou

show group aliases on group profile block

parent 636455ad
......@@ -153,4 +153,23 @@ class GroupProfileBlock extends ProfileBlock
}
$this->out->elementEnd('div');
}
function showName()
{
parent::showName();
$this->showAliases();
}
function showAliases()
{
$aliases = $this->group->getAliases();
if (!empty($aliases)) {
$this->out->elementStart('ul', 'group_aliases');
foreach ($aliases as $alias) {
$this->out->element('li', 'group_alias', $alias);
}
$this->out->elementEnd('ul');
}
}
}
......@@ -1976,6 +1976,12 @@ display:block;
width:auto;
}
.profile_block .group_aliases .group_alias {
display:inline;
list-style-type: none;
font-style: italic;
}
.profile_block .entity_tags dt {
display: inline;
margin-right: 3px;
......
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