diff --git a/packages/web-pkg/src/components/AppBanner.vue b/packages/web-pkg/src/components/AppBanner.vue index d6cc3d9fffc..50c1a857f2d 100644 --- a/packages/web-pkg/src/components/AppBanner.vue +++ b/packages/web-pkg/src/components/AppBanner.vue @@ -18,7 +18,7 @@
{{ appBannerSettings.title }}
{{ appBannerSettings.publisher }}
-
+
{{ $gettext(appBannerSettings.additionalInformation) }}
@@ -40,7 +40,6 @@ import { computed, defineComponent, ref, unref } from 'vue' import { useRouter, useStore } from 'web-pkg' import { buildUrl } from 'web-pkg/src/helpers/router' import { useSessionStorage } from '@vueuse/core' -import { $gettext } from '../../../web-app-files/src/router/utils' export default defineComponent({ components: {}, @@ -56,6 +55,7 @@ export default defineComponent({ const store = useStore() const router = useRouter() const appBannerSettings = unref(store.getters.configuration.currentTheme.appBanner) + console.log(appBannerSettings) const appUrl = computed(() => { return buildUrl(router, `/f/${props.fileId}`) .toString() diff --git a/packages/web-runtime/themes/owncloud/theme.json b/packages/web-runtime/themes/owncloud/theme.json index 31a27fbc898..51158736a3a 100644 --- a/packages/web-runtime/themes/owncloud/theme.json +++ b/packages/web-runtime/themes/owncloud/theme.json @@ -16,8 +16,8 @@ "appBanner": { "title": "ownCloud", "publisher": "ownCloud GmbH", - "additionalInformation": "FREE", - "ctaText": "VIEW", + "additionalInformation": "", + "ctaText": "OPEN", "icon": "themes/owncloud/assets/owncloud-app-icon.png", "appScheme": "owncloud" }, @@ -100,8 +100,8 @@ "appBanner": { "title": "ownCloud", "publisher": "ownCloud GmbH", - "additionalInformation": "FREE", - "ctaText": "VIEW", + "additionalInformation": "", + "ctaText": "OPEN", "icon": "themes/owncloud/assets/owncloud-app-icon.png", "appScheme": "owncloud" },