From d52aa55a4fd78605fd83fee20af9bca84331f6af Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Fri, 25 May 2018 15:52:17 +0200 Subject: Improve sidebar handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- settings/src/components/appDetails.vue | 23 ++++++++++++++++----- settings/src/components/appList.vue | 7 +++---- settings/src/components/appList/appItem.vue | 10 ++++++++- settings/src/components/appManagement.vue | 10 +++++++++ settings/src/components/prefixMixin.vue | 32 +++++++++++++++++++++++++++++ 5 files changed, 72 insertions(+), 10 deletions(-) create mode 100644 settings/src/components/prefixMixin.vue (limited to 'settings/src') diff --git a/settings/src/components/appDetails.vue b/settings/src/components/appDetails.vue index 70078d87c64..1595be7ac13 100644 --- a/settings/src/components/appDetails.vue +++ b/settings/src/components/appDetails.vue @@ -25,11 +25,16 @@ Close

{{ app.name }}

- +
- {{ author }} - {{ licence }} + {{ t('settings', 'by') }} + + {{ a['@value'] }}   + {{ a['@value'] }} + + {{ author }}
+ {{ licence }}
@@ -42,7 +47,6 @@
- group.id !== 'disabled') + .sort((a, b) => a.name.localeCompare(b.name)); + }, licence() { return this.app.license + t('settings', '-licensed'); }, author() { + return this.app.author; return t('settings', 'by') + ' ' + this.app.author; }, renderMarkdown() { diff --git a/settings/src/components/appList.vue b/settings/src/components/appList.vue index 60029aa59fc..760bc8a66a1 100644 --- a/settings/src/components/appList.vue +++ b/settings/src/components/appList.vue @@ -64,9 +64,11 @@ diff --git a/settings/src/components/appList/appItem.vue b/settings/src/components/appList/appItem.vue index b2fb86f955a..25e9a4602c2 100644 --- a/settings/src/components/appList/appItem.vue +++ b/settings/src/components/appList/appItem.vue @@ -21,8 +21,9 @@ -->