Rename global settings -> project settings (#686)

This commit is contained in:
Rijk van Zanten
2020-06-08 17:14:21 -04:00
committed by GitHub
parent 1376119392
commit 1a8e02a74e
6 changed files with 15 additions and 16 deletions

View File

@@ -576,7 +576,6 @@
"settings_data_model": "Data Model",
"settings_collections_fields": "Collections & Fields",
"settings_extensions": "Extensions",
"settings_global": "Global Settings",
"settings_permissions": "Roles & Permissions",
"settings_project": "Project Settings",
"settings_saved": "Settings Saved",
@@ -604,7 +603,7 @@
"page_help_activity_detail": "**Activity Detail** — Shows accountability info, revision data, and the update message for this activity record.",
"page_help_files_browse": "**File Library** — Lists all file assets uploaded to this project. Customize layout, filters, and sorting to tailor your view, and even save bookmarks of these different configurations for quick access.",
"page_help_files_detail": "**File Detail** — A form for managing file metadata, editing the original asset, and updating access settings.",
"page_help_settings_global": "**Global Settings** — Your project's global configuration options.",
"page_help_settings_project": "**Project Settings** — Your project's global configuration options.",
"page_help_settings_datamodel_collections": "**Data Model: Collections** — Lists all collections available. This includes visible, hidden, and system collections, as well as unmanaged database tables that can be added.",
"page_help_settings_datamodel_fields": "**Data Model: Collection** — A form for managing this collection and its fields.",
"page_help_settings_roles_browse": "**Browse Roles** — Lists the Admin, Public and custom User Roles.",

View File

@@ -22,8 +22,8 @@ export default defineComponent({
const navItems = [
{
icon: 'public',
name: i18n.t('settings_global'),
to: `/${currentProjectKey.value}/settings/global`,
name: i18n.t('settings_project'),
to: `/${currentProjectKey.value}/settings/project`,
},
{
icon: 'list_alt',

View File

@@ -1,5 +1,5 @@
import { defineModule } from '@/modules/define';
import SettingsGlobal from './routes/global';
import SettingsProject from './routes/project';
import { SettingsCollections, SettingsFields } from './routes/data-model/';
import { SettingsRolesBrowse, SettingsRolesDetail } from './routes/roles';
import { SettingsWebhooksBrowse, SettingsWebhooksDetail } from './routes/webhooks';
@@ -14,12 +14,12 @@ export default defineModule(({ i18n }) => ({
routes: [
{
path: '/',
redirect: '/global',
redirect: '/project',
},
{
name: 'settings-global',
path: '/global',
component: SettingsGlobal,
name: 'settings-project',
path: '/project',
component: SettingsProject,
},
{
name: 'settings-collections',

View File

@@ -1,4 +0,0 @@
import SettingsGlobal from './global.vue';
export { SettingsGlobal };
export default SettingsGlobal;

View File

@@ -0,0 +1,4 @@
import SettingsProject from './project.vue';
export { SettingsProject };
export default SettingsProject;

View File

@@ -1,5 +1,5 @@
<template>
<private-view :title="$t('settings_global')">
<private-view :title="$t('settings_project')">
<template #title-outer:prepend>
<v-button class="header-icon" rounded disabled icon secondary>
<v-icon name="public" />
@@ -22,10 +22,10 @@
<template #drawer>
<drawer-detail icon="info_outline" :title="$t('information')" close>
<div class="format-markdown" v-html="marked($t('page_help_settings_global'))" />
<div class="format-markdown" v-html="marked($t('page_help_settings_project'))" />
</drawer-detail>
<drawer-detail icon="help_outline" :title="$t('help_and_docs')">
<div class="format-markdown" v-html="marked($t('page_help_settings_global'))" />
<div class="format-markdown" v-html="marked($t('page_help_settings_project'))" />
</drawer-detail>
</template>
</private-view>