aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/group_list.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2012-12-05 19:58:09 +0000
committerflop25 <flop25@piwigo.org>2012-12-05 19:58:09 +0000
commitb750da5b90fb25f1eda568aeb1563fa6df3ba0f7 (patch)
tree349bdd9ac7212a53ae8cddf069c68a9401a90254 /admin/themes/default/template/group_list.tpl
parentc988181366430a45a8bb799817a22255a38fb284 (diff)
bug:2425
New interface like the Batch Mananger : merge & interface finished git-svn-id: http://piwigo.org/svn/trunk@19290 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/group_list.tpl')
-rw-r--r--admin/themes/default/template/group_list.tpl13
1 files changed, 1 insertions, 12 deletions
diff --git a/admin/themes/default/template/group_list.tpl b/admin/themes/default/template/group_list.tpl
index 56809720f..0443f62eb 100644
--- a/admin/themes/default/template/group_list.tpl
+++ b/admin/themes/default/template/group_list.tpl
@@ -71,24 +71,13 @@ $(document).ready(function() {
<th></th>
<th>{'Group name'|@translate}</th>
<th>{'Members'|@translate}</th>
- <th>{'Actions'|@translate}</th>
</tr>
{if not empty($groups)}
{foreach from=$groups item=group name=group_loop}
<tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}">
<td><input class="group_selection" name="group_selection[]" type="checkbox" value="{$group.ID}"></td>
<td>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i></td>
- <td><a href="{$group.U_MEMBERS}">{$group.MEMBERS}</a></td>
- <td style="text-align:center;">
- <a href="{$group.U_PERM}">
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" style="border:none" alt="{'Permissions'|@translate}" title="{'Permissions'|@translate}"></a>
- <a href="{$group.U_DELETE}" onclick="return confirm('{'delete'|@translate|@escape:'javascript'}'
- + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" style="border:none" alt="{'Delete'|@translate}" title="{'Delete'|@translate}"></a>
- <a href="{$group.U_ISDEFAULT}" onclick="return confirm('{'Toggle \'default group\' property'|@translate|@escape:'javascript'}'
- +'\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/toggle_is_default_group.png" style="border:none" alt="{'Toggle \'default group\' property'|@translate}" title="{'Toggle \'default group\' property'|@translate}"></a>
- </td>
+ <td>{if $group.MEMBERS>0}<a href="{$group.U_MEMBERS}" title="{'Manage the members'|@translate}">{$group.MEMBERS}</a><br>{$group.L_MEMBERS}{else}{$group.MEMBERS}{/if}</td>
</tr>
{/foreach}
{/if}