Skip to content

Commit 3df383d

Browse files
committed
"Nav is a nav and the content is the content." - A wise man, 2025.
1 parent 3ac300f commit 3df383d

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

resources/views/blueprints/index.blade.php

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -79,31 +79,6 @@
7979
</ui-panel>
8080
@endif
8181

82-
@if (Statamic\Facades\Nav::all()->count() > 0)
83-
<ui-subheading size="lg" class="mb-2">{{ __('Navigation') }}</ui-subheading>
84-
<ui-panel>
85-
<table class="data-table">
86-
<thead>
87-
<tr>
88-
<th class="text-start!">{{ __('Blueprint') }}</th>
89-
</tr>
90-
</thead>
91-
<tbody>
92-
@foreach (Statamic\Facades\Nav::all() as $nav)
93-
<tr>
94-
<td>
95-
<div class="flex items-center gap-2">
96-
<ui-icon name="navigation" class="text-gray-500 me-1" />
97-
<a href="{{ cp_route('blueprints.navigation.edit', $nav->handle()) }}" v-pre>{{ __($nav->title()) }}</a>
98-
</div>
99-
</td>
100-
</tr>
101-
@endforeach
102-
</tbody>
103-
</table>
104-
</ui-panel>
105-
@endif
106-
10782
@if (Statamic\Facades\Taxonomy::all()->count() > 0)
10883
<ui-subheading size="lg" class="mb-2">{{ __('Taxonomies') }}</ui-subheading>
10984
<ui-panel>
@@ -138,6 +113,31 @@
138113
</ui-panel>
139114
@endif
140115

116+
@if (Statamic\Facades\Nav::all()->count() > 0)
117+
<ui-subheading size="lg" class="mb-2">{{ __('Navigation') }}</ui-subheading>
118+
<ui-panel>
119+
<table class="data-table">
120+
<thead>
121+
<tr>
122+
<th class="text-start!">{{ __('Blueprint') }}</th>
123+
</tr>
124+
</thead>
125+
<tbody>
126+
@foreach (Statamic\Facades\Nav::all() as $nav)
127+
<tr>
128+
<td>
129+
<div class="flex items-center gap-2">
130+
<ui-icon name="navigation" class="text-gray-500 me-1" />
131+
<a href="{{ cp_route('blueprints.navigation.edit', $nav->handle()) }}" v-pre>{{ __($nav->title()) }}</a>
132+
</div>
133+
</td>
134+
</tr>
135+
@endforeach
136+
</tbody>
137+
</table>
138+
</ui-panel>
139+
@endif
140+
141141
@if (Statamic\Facades\AssetContainer::all()->count() > 0)
142142
<ui-subheading size="lg" class="mb-2">{{ __('Asset Containers') }}</ui-subheading>
143143
<ui-panel>

0 commit comments

Comments
 (0)