From 9666841c3c1e373c8a9f2e2f206ebf9f18815166 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 16 Mar 2025 10:49:00 +1100 Subject: [PATCH] Move our page-actions out of the theme into frame/dn. Add some attribute tags messages when we cant handle some attributes. --- .../layouts/partials/contentheader.blade.php | 34 +----------- resources/views/frames/dn.blade.php | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+), 33 deletions(-) diff --git a/resources/themes/architect/views/layouts/partials/contentheader.blade.php b/resources/themes/architect/views/layouts/partials/contentheader.blade.php index c4426d4c..a213a84f 100644 --- a/resources/themes/architect/views/layouts/partials/contentheader.blade.php +++ b/resources/themes/architect/views/layouts/partials/contentheader.blade.php @@ -14,39 +14,7 @@
-
-
-
- -
-
-
+ @yield('page_actions')
diff --git a/resources/views/frames/dn.blade.php b/resources/views/frames/dn.blade.php index f5202855..b2b2a2dc 100644 --- a/resources/views/frames/dn.blade.php +++ b/resources/views/frames/dn.blade.php @@ -4,6 +4,60 @@ @include('fragment.dn.header',['o'=>($o ?? $o=$server->fetch($dn))]) @endsection +@section('page_actions') +
+
+
+ +
+
+
+ +
+
+ @if(($x=$o->getOtherTags())->count()) +
+ This entry has [{!! $x->flatten()->join(', ') !!}] tags used by [{!! $x->keys()->join(', ') !!}] that cant be managed by PLA. You can though manage those tags with an LDIF import. +
+ @elseif(($x=$o->getLangMultiTags())->count()) +
+ This entry has multi-language tags used by [{!! $x->keys()->join(', ') !!}] that cant be managed by PLA. You can though manage those lang tags with an LDIF import. +
+ @elseif(($x=$o->getLangTags())->count()) +
+ This entry has language tags used by [{!! $x->keys()->join(', ') !!}] that cant be managed by PLA yet. You can though manage those lang tags with an LDIF import. +
+ @endif +
+
+@endsection + @section('main-content')