Skip to content

Commit 4592095

Browse files
committed
Correction création mémos dans modèles
1 parent bd7185d commit 4592095

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

module/Administration/view/administration/models/form.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ if($this->form->has('custom_fields')){
116116
}
117117
$countalarms++;
118118
echo '<tr>';
119-
echo '<td data-toggle="tooltip" data-title="Déclenchement du mémo x minutes après le début de l\'évènement">'.(strlen($deltabegin) > 0 ? $deltabegin : "0").' min</td>';
120-
echo '<td data-toggle="tooltip" data-title="Déclenchement du mémo x minutes après la fin de l\'évènement">'.(strlen($deltaend) > 0 ? $deltaend : "0").' min</td>';
119+
echo '<td data-toggle="tooltip" title="Déclenchement du mémo x minutes après le début de l\'évènement">'.(strlen($deltabegin) > 0 ? $deltabegin : "0").' min</td>';
120+
echo '<td data-toggle="tooltip" title="Déclenchement du mémo x minutes après la fin de l\'évènement">'.(strlen($deltaend) > 0 ? $deltaend : "0").' min</td>';
121121
echo '<td>'.$this->eventName($alarm).'</td>';
122122
echo '<td><a href="#" class="delete-alarm" data-id="'.$alarm->getId().'"><span class="glyphicon glyphicon-trash"></span></a></td>';
123123
echo '</tr>';

module/Administration/view/administration/models/formalarm.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ echo $this->formHidden($this->form->get('organisation'));
2323

2424
echo $this->formHidden($this->form->get('impact'));
2525

26-
echo $this->formHidden($this->form->get('programmed'));
26+
echo $this->formHidden($this->form->get('programmed')->setAttribute('value', false));
2727

2828
echo $this->formHidden($this->form->get('listable')->setAttribute('value', false));
2929

0 commit comments

Comments
 (0)