|
|
@@ -641,14 +641,15 @@ class Route_Notify extends RouteBase {
|
|
|
if (empty($userNotifyList)) {
|
|
|
UI::alert('warning', "Brak zdefiniowanych powiadomień");
|
|
|
} else {
|
|
|
+ $this__printValue = [$this, 'printValue'];
|
|
|
UI::table([ // <table class="table table-hover">
|
|
|
'disable_lp' => true,
|
|
|
'@class' => 'table table-hover',
|
|
|
'cell_padding' => 8,
|
|
|
- 'rows' => array_map(function ($notify) {
|
|
|
+ 'rows' => array_map(function ($notify) use ($usrLogin, $this__printValue) {
|
|
|
return [
|
|
|
- 'rodzaj' => $this->printValue('what', $notify['what']),
|
|
|
- 'jak często' => $this->printValue('when', $notify['when']),
|
|
|
+ 'rodzaj' => $this__printValue('what', $notify['what']),
|
|
|
+ 'jak często' => $this__printValue('when', $notify['when']),
|
|
|
'utworzony' => $notify['_created'],
|
|
|
'ostatnio uruchomiony' => $notify['last_exec_time'] ? $notify['last_exec_time'] : '<i>brak danych</i>',
|
|
|
'#' => UI::h('form', [ 'method' => "post", 'class' => "form-inline" ], [
|