summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/pages/group_admins.html.tmpl
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-09-02 08:40:56 +0200
committerByron Jones <glob@mozilla.com>2015-09-02 08:40:56 +0200
commit3d463f780fd2051751f276f71e27bb47e96dc2aa (patch)
tree26c7c6f2e745dc2ace396396ed03c7ef8c8f3b7e /extensions/BMO/template/en/default/pages/group_admins.html.tmpl
parente1c42c8fcdf74f5a810aae1384808b635cdc51a4 (diff)
downloadbugzilla-3d463f780fd2051751f276f71e27bb47e96dc2aa.tar.gz
bugzilla-3d463f780fd2051751f276f71e27bb47e96dc2aa.tar.xz
Bug 1196618 - add support for group owners
Diffstat (limited to 'extensions/BMO/template/en/default/pages/group_admins.html.tmpl')
-rw-r--r--extensions/BMO/template/en/default/pages/group_admins.html.tmpl13
1 files changed, 11 insertions, 2 deletions
diff --git a/extensions/BMO/template/en/default/pages/group_admins.html.tmpl b/extensions/BMO/template/en/default/pages/group_admins.html.tmpl
index 01bb744c4..c81c95748 100644
--- a/extensions/BMO/template/en/default/pages/group_admins.html.tmpl
+++ b/extensions/BMO/template/en/default/pages/group_admins.html.tmpl
@@ -28,14 +28,23 @@
<table border="0" cellspacing="0" id="report" class="hover" width="100%">
<tr id="report-header">
<th align="left">Name</th>
+ <th align="left">Owner</th>
<th align="left">Admins</th>
</tr>
[% FOREACH group = groups %]
[% count = loop.count() %]
<tr class="report_item [% count % 2 == 1 ? "report_row_odd" : "report_row_even" %]">
- <td>
- [% group.name FILTER html %]
+ <td nowrap>
+ <span title="[% group.description FILTER html %]">
+ [% group.name FILTER html %]</span>
+ </td>
+ <td nowrap>
+ [% IF group.owner.login == 'nobody@mozilla.org' %]
+ &ndash;
+ [% ELSE %]
+ [% INCLUDE global/user.html.tmpl who = group.owner %]
+ [% END %]
</td>
<td>
[% FOREACH admin = group.admins %]