Skip to content

Commit

Permalink
changes per request from PO
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmoc committed Sep 27, 2023
1 parent 70029ac commit 8c4e009
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/web-pkg/src/components/AppBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div>
<div class="app-title">{{ appBannerSettings.title }}</div>
<div class="app-publisher">{{ appBannerSettings.publisher }}</div>
<div class="app-additional-info">
<div v-if="appBannerSettings.additionalInformation !== ''" class="app-additional-info">
{{ $gettext(appBannerSettings.additionalInformation) }}
</div>
</div>
Expand All @@ -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: {},
Expand All @@ -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()
Expand Down
8 changes: 4 additions & 4 deletions packages/web-runtime/themes/owncloud/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
},
Expand Down

0 comments on commit 8c4e009

Please sign in to comment.