Support oft parent groups
This commit is contained in:
@@ -15,6 +15,7 @@ const globalProps = reactive({
|
||||
message: '',
|
||||
currentEvent: null,
|
||||
version: '',
|
||||
groupLabels: {localGroupPlural: 'Stämme', parentGroupPlural: 'Bünde'},
|
||||
});
|
||||
|
||||
const sidebarOpen = ref(false);
|
||||
@@ -107,7 +108,10 @@ const props = defineProps({
|
||||
</ul>
|
||||
<ul class="nav-links">
|
||||
<li v-if="globalProps.tenant.slug === 'lv'">
|
||||
<a href="/admin/tenants" @click="closeSidebar">Stämme</a>
|
||||
<a href="/admin/tenants" @click="closeSidebar">{{ globalProps.groupLabels.localGroupPlural }}</a>
|
||||
</li>
|
||||
<li v-if="globalProps.tenant.slug === 'lv'">
|
||||
<a href="/admin/parent-groups" @click="closeSidebar">{{ globalProps.groupLabels.parentGroupPlural }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/users" @click="closeSidebar">Benutzer*innen</a>
|
||||
@@ -117,6 +121,9 @@ const props = defineProps({
|
||||
<li>
|
||||
<a href="/admin/document-templates" @click="closeSidebar">Rechnungsvorlage</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/settings" @click="closeSidebar">Einstellungen</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user