소스 검색

added back link in ant acl source to objects list

Piotr Labudda 8 년 전
부모
커밋
6ce1237ba2
1개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 8 3
      SE/se-lib/Route/Storage/AclStruct.php

+ 8 - 3
SE/se-lib/Route/Storage/AclStruct.php

@@ -635,9 +635,14 @@ class Route_Storage_AclStruct extends RouteBase {
 			}
 		}
 
-		echo UI::h('details', ['style'=>"margin-bottom:24px; padding:0 10px; background-color:#eee", 'open' => "open"], [
-			UI::h('summary', ['style'=>"font-size:1.4em; line-height:2em; cursor:pointer; outline:none"], [
-				"Struktura obiektu '{$namespace}' ",
+		echo UI::h('div', ['style'=>"margin-bottom:24px; padding:0 10px; background-color:#eee", 'open' => "open"], [
+			UI::h('div', [], [
+				UI::h('a', [
+					'class' => "btn btn-link",
+					'href' => Router::getRoute('Storage')->getLink('tableList', [ 'idStorage' => 36 ]),
+				], "&laquo wróć do listy"),
+				" ",
+				UI::h('b', [ 'style' => "font-size:1.1em; line-height:2em" ], "Struktura obiektu '{$namespace}'"),
 				// UI::h('small', ['style'=>"font-size:0.8em; font-style:italic; color:#aaa"], " więcej...")
 			]),
 			UI::h('div', ['style'=>"padding:4px 24px; border-top:1px solid #fff"], [