Better label for status schedule of cron tasks.
This commit is contained in:
parent
64e20959f6
commit
969ed4acc1
@ -1285,9 +1285,9 @@ class Cronjob extends CommonObject
|
||||
elseif ($lastresult) $moretext .= ' ('.$langs->trans("Error").')';
|
||||
|
||||
$this->labelStatus[self::STATUS_DISABLED] = $langs->trans('Disabled').$moretext;
|
||||
$this->labelStatus[self::STATUS_ENABLED] = $langs->trans('Enabled').$moretext;
|
||||
$this->labelStatus[self::STATUS_ENABLED] = $langs->trans('Scheduled').$moretext;
|
||||
$this->labelStatusShort[self::STATUS_DISABLED] = $langs->trans('Disabled');
|
||||
$this->labelStatusShort[self::STATUS_ENABLED] = $langs->trans('Enabled');
|
||||
$this->labelStatusShort[self::STATUS_ENABLED] = $langs->trans('Scheduled');
|
||||
}
|
||||
|
||||
$statusType = 'status4';
|
||||
|
||||
@ -372,7 +372,7 @@ print '<td class="liste_titre"> </td>';
|
||||
print '<td class="liste_titre"> </td>';
|
||||
print '<td class="liste_titre"> </td>';
|
||||
print '<td class="liste_titre" align="center">';
|
||||
print $form->selectarray('search_status', array('0'=>$langs->trans("Disabled"), '1'=>$langs->trans("Enabled")), $search_status, 1);
|
||||
print $form->selectarray('search_status', array('0'=>$langs->trans("Disabled"), '1'=>$langs->trans("Scheduled")), $search_status, 1);
|
||||
print '</td><td class="liste_titre right">';
|
||||
$searchpicto = $form->showFilterButtons();
|
||||
print $searchpicto;
|
||||
|
||||
@ -47,6 +47,7 @@ CronNbRun=Number of launches
|
||||
CronMaxRun=Maximum number of launches
|
||||
CronEach=Every
|
||||
JobFinished=Job launched and finished
|
||||
Scheduled=Scheduled
|
||||
#Page card
|
||||
CronAdd= Add jobs
|
||||
CronEvery=Execute job each
|
||||
@ -57,7 +58,7 @@ CronNote=Comment
|
||||
CronFieldMandatory=Fields %s is mandatory
|
||||
CronErrEndDateStartDt=End date cannot be before start date
|
||||
StatusAtInstall=Status at module installation
|
||||
CronStatusActiveBtn=Enable
|
||||
CronStatusActiveBtn=Schedule
|
||||
CronStatusInactiveBtn=Disable
|
||||
CronTaskInactive=This job is disabled
|
||||
CronId=Id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user