minor fixes
This commit is contained in:
@@ -22,22 +22,6 @@ class MailTemplatesDataTable extends DataTable
|
||||
return $this->buildQuery($model);
|
||||
}
|
||||
|
||||
public function getHtmlButtons()
|
||||
{
|
||||
$buttons = '';
|
||||
if (Users::hasPermission('mail_templates_view')) {
|
||||
$buttons .= self::getButtonShow();
|
||||
}
|
||||
if (Users::hasPermission('mail_templates_update')) {
|
||||
$buttons .= self::getButtonEdit();
|
||||
}
|
||||
if (Users::hasPermission('mail_templates_delete')) {
|
||||
$buttons .= self::getButtonDel();
|
||||
}
|
||||
|
||||
return $buttons;
|
||||
}
|
||||
|
||||
protected function getColumns()
|
||||
{
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user