Skip to content
Snippets Groups Projects
Commit 29cf5a40 authored by jaapjansma's avatar jaapjansma
Browse files

fixed notices

parent 45b0fce4
Branches
Tags
No related merge requests found
......@@ -56,13 +56,13 @@ class CRM_Civirules_Page_Rule extends CRM_Core_Page {
$rule['id']);
$enableUrl = CRM_Utils_System::url('civicrm/civirule/form/rule', 'reset=1&action=enable&id='.
$rule['id']);
$rowActions[] = '<a class="action-item" title="Update" href="'.$updateUrl.'">'.ts(Edit).'</a>';
$rowActions[] = '<a class="action-item" title="Update" href="'.$updateUrl.'">'.ts('Edit').'</a>';
if ($rule['is_active'] == 1) {
$rowActions[] = '<a class="action-item" title="Disable" href="'.$disableUrl.'">'.ts(Disable).'</a>';
$rowActions[] = '<a class="action-item" title="Disable" href="'.$disableUrl.'">'.ts('Disable').'</a>';
} else {
$rowActions[] = '<a class="action-item" title="Enable" href="'.$enableUrl.'">'.ts(Enable).'</a>';
$rowActions[] = '<a class="action-item" title="Enable" href="'.$enableUrl.'">'.ts('Enable').'</a>';
}
$rowActions[] = '<a class="action-item" title="Delete" href="'.$deleteUrl.'">'.ts(Delete).'</a>';
$rowActions[] = '<a class="action-item" title="Delete" href="'.$deleteUrl.'">'.ts('Delete').'</a>';
return $rowActions;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment