feat: admin/groups style change

v1.18.x
Barış Soner Uşaklı 6 years ago
parent 593261293b
commit 2b6f1a05bf

@ -1,8 +1,12 @@
{ {
"name": "Group Name", "name": "Group Name",
"badge": "Badge",
"properties": "Properties",
"description": "Group Description", "description": "Group Description",
"member-count": "Member Count", "member-count": "Member Count",
"system": "System Group", "system": "System",
"hidden": "Hidden",
"private": "Private",
"edit": "Edit", "edit": "Edit",
"search-placeholder": "Search", "search-placeholder": "Search",
"create": "Create Group", "create": "Create Group",

@ -8,8 +8,10 @@
<thead> <thead>
<tr> <tr>
<th>[[admin/manage/groups:name]]</th> <th>[[admin/manage/groups:name]]</th>
<th>[[admin/manage/groups:badge]]</th>
<th>[[admin/manage/groups:properties]]</th>
<th class="hidden-xs">[[admin/manage/groups:description]]</th> <th class="hidden-xs">[[admin/manage/groups:description]]</th>
<th class="hidden-xs">[[admin/manage/groups:member-count]]</th> <th class="hidden-xs text-right">[[admin/manage/groups:member-count]]</th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
@ -18,9 +20,20 @@
<tr data-groupname="{groups.displayName}"> <tr data-groupname="{groups.displayName}">
<td> <td>
{groups.displayName} {groups.displayName}
</td>
<td>
<span class="label label-default" style="background-color: {groups.labelColor};"><!-- IF groups.icon --><i class="fa {groups.icon}"></i> <!-- ENDIF groups.icon -->{groups.userTitle}</span>
</td>
<td>
<!-- IF groups.system --> <!-- IF groups.system -->
<span class="badge">[[admin/manage/groups:system]]</span> <span class="label label-danger">[[admin/manage/groups:system]]</span>
<!-- ENDIF groups.system --> <!-- ENDIF groups.system -->
<!-- IF groups.private -->
<span class="label label-primary">[[admin/manage/groups:private]]</span>
<!-- ENDIF groups.private -->
<!-- IF groups.hidden -->
<span class="label label-default">[[admin/manage/groups:hidden]]</span>
<!-- ENDIF groups.hidden -->
</td> </td>
<td class="hidden-xs"> <td class="hidden-xs">
<p class="description">{groups.description}</p> <p class="description">{groups.description}</p>

Loading…
Cancel
Save