Pārlūkot izejas kodu

added links in Storage struct for Table, Zasoby, Procesy

Piotr Labudda 9 gadi atpakaļ
vecāks
revīzija
d6e3f94614
1 mainītis faili ar 17 papildinājumiem un 1 dzēšanām
  1. 17 1
      SE/se-lib/Route/Storage.php

+ 17 - 1
SE/se-lib/Route/Storage.php

@@ -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
 			]);