Compare commits
No commits in common. "9c5a2527c77c929966f533f77741c1a65f3ffd90" and "f09e168381e1c4b0bcd22584dcb11ff9bdc8a271" have entirely different histories.
9c5a2527c7
...
f09e168381
|
@ -172,12 +172,12 @@ function updateHook(hook) {
|
|||
|
||||
if (number == 0) {
|
||||
$("#hooks-notified").html('<i class="fa fa-check" aria-hidden="true"></i>');
|
||||
$("#hooks-badge").removeClass();
|
||||
$("#hooks-badge").addClass('badge').addClass('badge-success');
|
||||
$("#hooks-label").removeClass();
|
||||
$("#hooks-label").addClass('badge').addClass('badge-success');
|
||||
} else {
|
||||
$("#hooks-notified").text(number);
|
||||
$("#hooks-badge").removeClass();
|
||||
$("#hooks-badge").addClass('badge').addClass('badge-danger');
|
||||
$("#hooks-label").removeClass();
|
||||
$("#hooks-label").addClass('badge').addClass('badge-danger');
|
||||
}
|
||||
|
||||
if (counter == $("#hooks-number").text()) {
|
||||
|
|
|
@ -173,7 +173,7 @@ echo '
|
|||
<p><i class="fa '.(count($interventi_programmati) == 0 ? 'fa-clock-o text-success' : 'fa-clock-o text-warning').'"></i> '.(count($interventi_programmati) == 0 ? tr('Non sono presenti altre attività programmate') : 'Attività aperte:');
|
||||
if (count($interventi_programmati) != 0) {
|
||||
foreach ($interventi_programmati as $intervento_programmato) {
|
||||
echo ' <a class="btn btn-default btn-xs" href="'.base_path().'/editor.php?id_module='.$id_module.'&id_record='.$intervento_programmato->id.'" target="_blank">'.$intervento_programmato->codice.' ('.(new Carbon($intervento_programmato->data_richiesta))->diffForHumans().')</a>';
|
||||
echo ' <a class="btn btn-default btn-xs" href="'.base_path().'/editor.php?id_module='.Modules::get('Interventi')['id'].'&id_record='.$intervento_programmato->id.'" target="_blank">'.$intervento_programmato->codice.' ('.(new Carbon($intervento_programmato->data_richiesta))->diffForHumans().')</a>';
|
||||
}
|
||||
}
|
||||
echo '
|
||||
|
|
Loading…
Reference in New Issue