Fix role/webhook detail title

This commit is contained in:
rijkvanzanten
2020-06-04 18:40:51 -04:00
parent df3f6edf83
commit 06146df21a
3 changed files with 7 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{
"edit_field": "Edit Field",
"item_revision": "Item Revision",
"item_revision_updates_made": "Here are the differences in the raw field values...",
"item_revision_updates_made": "Here are the differences in the raw field values...",
"duplicate_field": "Duplicate Field",
"half_width": "Half Width",
"full_width": "Full Width",
@@ -73,6 +73,9 @@
"confirm_revert": "Confirm Revert",
"confirm_revert_body": "This will revert the item to the selected state.",
"editing_role": "Editing {role} Role",
"editing_webhook": "Editing Webhook",
"code": "Code",
"loc": "No lines of {lang} | One line of {lang} | {count} lines of {lang}",

View File

@@ -1,11 +1,10 @@
<template>
<private-view :title="$t('editing', { collection: $t('roles') })">
<private-view :title="loading ? $t('loading') : $t('editing_role', { role: item && item.name })">
<template #title-outer:prepend>
<v-button class="header-icon" rounded icon exact :to="`/${currentProjectKey}/settings/roles/`">
<v-icon name="arrow_back" />
</v-button>
</template>
<template #actions>
<v-dialog v-model="confirmDelete">
<template #activator="{ on }">

View File

@@ -1,5 +1,5 @@
<template>
<private-view :title="$t('editing', { collection: $t('webhooks') })">
<private-view :title="$t('editing_webhook')">
<template #title-outer:prepend>
<v-button class="header-icon" rounded icon exact :to="`/${currentProjectKey}/settings/webhooks/`">
<v-icon name="arrow_back" />
@@ -61,10 +61,7 @@
</drawer-detail>
<revisions-drawer-detail v-if="isNew === false" collection="directus_webhooks" :primary-key="primaryKey" />
<drawer-detail icon="help_outline" :title="$t('help_and_docs')">
<div
class="format-markdown"
v-html="marked($t('page_help_settings_webhooks_detail'))"
/>
<div class="format-markdown" v-html="marked($t('page_help_settings_webhooks_detail'))" />
</drawer-detail>
</template>
</private-view>