From 2f05276d322e3b3a6c64c211f189ebc14a4bdb88 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 30 Sep 2015 12:45:48 +0200 Subject: [PATCH] Style user group backend list refs #5543 --- .../views/scripts/usergroupbackend/list.phtml | 89 ++++++++++--------- 1 file changed, 46 insertions(+), 43 deletions(-) diff --git a/application/views/scripts/usergroupbackend/list.phtml b/application/views/scripts/usergroupbackend/list.phtml index aa09510269..e96f2552a1 100644 --- a/application/views/scripts/usergroupbackend/list.phtml +++ b/application/views/scripts/usergroupbackend/list.phtml @@ -1,51 +1,54 @@
- +
-qlink( - $this->translate('Create A New User Group Backend'), - 'usergroupbackend/create', - null, - array( - 'icon' => 'plus' - ) -); ?> - 0): ?> - - - - - - - - - $config): - $type = $config->get('backend'); - ?> - - - + ) ?> + 0): ?> +
translate('Backend'); ?>translate('Remove'); ?>
- qlink( - $backendName, - 'usergroupbackend/edit', - array('backend' => $backendName), - array( - 'icon' => $type === 'external' ? 'magic' : ($type === 'ldap' || $type === 'msldap' ? 'sitemap' : 'database'), - 'title' => sprintf($this->translate('Edit user group backend %s'), $backendName) - ) - ); ?> - qlink( + qlink( + $this->translate('Create A New User Group Backend') , + 'usergroupbackend/create', null, - 'usergroupbackend/remove', - array('backend' => $backendName), array( - 'title' => sprintf($this->translate('Remove user group backend %s'), $backendName), - 'icon' => 'trash' + 'class' => 'button action-link', + 'icon' => 'plus', + 'title' => $this->translate('Create a new user group backend') ) - ); ?>
+ + + + - - -
translate('Backend') ?>
+ + + $config): + $type = $config->get('backend'); + ?> + + + qlink( + $backendName, + 'usergroupbackend/edit', + array('backend' => $backendName), + array( + 'icon' => $type === 'external' ? 'magic' : ($type === 'ldap' || $type === 'msldap' ? 'sitemap' : 'database'), + 'title' => sprintf($this->translate('Edit user group backend %s'), $backendName) + ) + ); ?> + + qlink( + null, + 'usergroupbackend/remove', + array('backend' => $backendName), + array( + 'class' => 'action-link', + 'icon' => 'cancel', + 'title' => sprintf($this->translate('Remove user group backend %s'), $backendName) + ) + ) ?> + + + + -
\ No newline at end of file +