1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-16 19:40:44 +01:00

Migliorie minori elenco-hooks

This commit is contained in:
Luca 2022-10-06 17:15:14 +02:00
parent dac2537ac0
commit 022cdd5d74

View File

@ -24,8 +24,8 @@ echo '
<thead>
<tr>
<th>'.tr('Nome').'</th>
<th>'.tr('Stato').'</th>
<th>'.tr('Ultima esecuzione').'</th>
<th class="text-center">'.tr('Ultima esecuzione').'</th>
<th class="text-center">'.tr('Stato').'</th>
</tr>
</thead>';
@ -56,6 +56,11 @@ foreach ($gruppi as $modulo => $hooks) {
'.$hook['name'].(!empty($hook['help']) ? '
<i class="tip fa fa-question-circle-o" title="'.$hook['help'].'"</i>' : '').'
</td>
<td class="text-center">
'.Translator::timestampToLocale($hook['processing_at']).'
</td>
<td class="text-center">';
// Possibilità di disabilitare o abilitare il hook
@ -79,13 +84,6 @@ foreach ($gruppi as $modulo => $hooks) {
</div>';
}
echo '
</td>
<td class="text-center">';
Translator::timestampToLocale($hook['processing_at']);
echo '
</td>
</tr>';