From a5912241608cdcb3602f4cb4c7ea50db3cb24639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jessica=20H=C3=B6ck?= Date: Thu, 15 Jul 2021 10:03:11 +0200 Subject: [PATCH] Dev: Changed btn class in table (User Groups page) --- application/models/UserGroup.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/application/models/UserGroup.php b/application/models/UserGroup.php index 388090ed41f..34b61200755 100644 --- a/application/models/UserGroup.php +++ b/application/models/UserGroup.php @@ -310,7 +310,7 @@ public function getColumns() 'name' => 'actions', 'type' => 'raw', 'value' => '', - 'htmlOptions' => array('class' => 'col-md-2 col-xs-1 text-right'), + 'htmlOptions' => array('class' => 'col-md-2 col-xs-1'), ), ); @@ -325,21 +325,21 @@ public function getButtons() // Edit user group if (Permission::model()->hasGlobalPermission('usergroups', 'update')) { $url = Yii::app()->createUrl("userGroup/edit/ugid/$this->ugid"); - $button = ' '; + $button = ' '; } // View users $url = Yii::app()->createUrl("userGroup/viewGroup/ugid/$this->ugid"); - $button .= ''; + $button .= ''; // Mail to user group // Which permission should be checked for this button to be available? $url = Yii::app()->createUrl("userGroup/mailToAllUsersInGroup/ugid/$this->ugid"); - $button .= ' '; + $button .= ' '; // Delete user group if (Permission::model()->hasGlobalPermission('usergroups', 'delete')) { - $button .= ' '; + $button .= ' '; } return $button;