generated from Seekra/repository-template
Feat(settings): add renderer for settings configuration #142
@@ -88,9 +88,12 @@ onMounted(async () => {
|
|||||||
<div v-if="!settingsLoaded">
|
<div v-if="!settingsLoaded">
|
||||||
{{ t('loading') }}
|
{{ t('loading') }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else-if="activeSection">
|
||||||
<SettingsPage :setting="activeSectionContent" :path="activeSection" />
|
<SettingsPage :setting="activeSectionContent" :path="activeSection" />
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
{{ t('settings.noSectionSelected') }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</LeftSidebarLayout>
|
</LeftSidebarLayout>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+2
-1
@@ -54,6 +54,7 @@
|
|||||||
"link": {
|
"link": {
|
||||||
"ariaLabel": "Geht zur Einstellungsseite {page}"
|
"ariaLabel": "Geht zur Einstellungsseite {page}"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"noSectionSelected": "Kein Einstellungsabschnitt ist ausgewählt."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+2
-1
@@ -54,6 +54,7 @@
|
|||||||
"link": {
|
"link": {
|
||||||
"ariaLabel": "Goes to settings page {page}"
|
"ariaLabel": "Goes to settings page {page}"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"noSectionSelected": "No settings section is selected."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user