Files
arrr-erp/app/ui/templates/components/context_bar_v2.html
T
2026-07-10 15:38:36 +05:30

17 lines
835 B
HTML

{#
UI/UX V2 Phase 1A — Optional page context bar (INERT UNTIL INCLUDED)
Combines breadcrumbs and page header without touching the current layout.
A later phase can include this wrapper on selected pages after route-level
breadcrumb/back/action context has been supplied explicitly.
#}
{% set _has_breadcrumbs = breadcrumbs_v2|default([], true) %}
{% set _has_page_header = page_title_v2|default('', true) or page_description_v2|default('', true) or back_url_v2|default('', true) or page_actions_v2|default([], true) %}
{% if _has_breadcrumbs or _has_page_header %}
<section class="mx-auto w-full max-w-[1500px] space-y-4 px-4 py-5 sm:px-6 lg:px-8" data-uiux-v2="context-bar">
{% include "ui/templates/components/breadcrumbs_v2.html" %}
{% include "ui/templates/components/page_header_v2.html" %}
</section>
{% endif %}