show phrase instead of content for bookmark widget in admin mode

This commit is contained in:
chfhtw
2026-04-27 15:43:58 +02:00
parent 9bc564dbf9
commit 736e91224e
2 changed files with 27 additions and 1 deletions
+7 -1
View File
@@ -271,7 +271,13 @@ export default {
</button>
</div>
<template v-if="ready">
<div
v-if="adminMode"
class="h-100 d-flex align-items-center text-center"
>
{{ $p.t('bookmark/adminMode') }}
</div>
<template v-else-if="ready">
<template v-if="filteredBookmarks.length">
<div
v-for="link in filteredBookmarks"
+20
View File
@@ -35942,6 +35942,26 @@ array(
)
)
),
array(
'app' => 'core',
'category' => 'bookmark',
'phrase' => 'adminMode',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Inhalt kann nicht im Administrator Modus angezeigt werden.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Content can not be displayed in administrator mode.',
'description' => '',
'insertvon' => 'system'
)
)
),
// BOOKMARK PHRASEN END ----------------------------------------------------------------------
array(
'app' => 'core',