|
|
@@ -741,7 +741,23 @@ jQuery(document).on('p5UIBtnAjax:Storage:addTableToZasoby:ajaxLoaded', function(
|
|
|
return ($a < $b) ? -1 : 1;
|
|
|
});
|
|
|
UI::table([
|
|
|
- 'caption' => "tableList",
|
|
|
+ 'caption' => UI::h('span', [], [
|
|
|
+ "Komórki [{$idTable}] ",
|
|
|
+ UI::h('a', [
|
|
|
+ 'href' => "index.php?_route=ViewTableAjax&namespace=default_db/{$tblName}",
|
|
|
+ 'class' => "btn btn-md btn-link"
|
|
|
+ ], "Przeglądaj tabelę"),
|
|
|
+ UI::h('a', [
|
|
|
+ 'href' => "procesy5.php?task=CRM_LISTA_ZASOBOW&filtr_id={$idTable}&filtr_ids=%2B&filtr_ob=%2B",
|
|
|
+ 'class' => "btn btn-md btn-link",
|
|
|
+ 'title' => "Struktura aktualnie przeglądanej tabeli"
|
|
|
+ ], "Zasoby"),
|
|
|
+ UI::h('a', [
|
|
|
+ 'href' => "index.php?FUNCTION_INIT=PROCES_MENU&HEADER_NOT_INIT=YES&_task=PROCES_FOR_TABLE&tblId={$idTable}",
|
|
|
+ 'class' => "btn btn-md btn-link",
|
|
|
+ 'title' => "Procesy dla aktualnie przeglądanej tabeli"
|
|
|
+ ], "Procesy"),
|
|
|
+ ]),
|
|
|
'cols' => array_keys($emptyItem),
|
|
|
'rows' => $tableList
|
|
|
]);
|