summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-17 21:38:33 +0200
committerJulius Härtl <jus@bitgrid.net>2020-08-19 17:07:28 +0200
commitd02a92e870448c20d22d3ed1939c8d2e3edc6542 (patch)
tree35ea010781f7a8b78619f82075151771edd04ca8 /apps/dashboard/src
parent5661775568e1ade06531b90f3825ff650f861eca (diff)
downloadnextcloud-server-d02a92e870448c20d22d3ed1939c8d2e3edc6542.tar.gz
nextcloud-server-d02a92e870448c20d22d3ed1939c8d2e3edc6542.zip
WIP: Start off with attribution for shipped backgrounds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard/src')
-rw-r--r--apps/dashboard/src/components/BackgroundSettings.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dashboard/src/components/BackgroundSettings.vue b/apps/dashboard/src/components/BackgroundSettings.vue
index 757711f96bb..accc094f523 100644
--- a/apps/dashboard/src/components/BackgroundSettings.vue
+++ b/apps/dashboard/src/components/BackgroundSettings.vue
@@ -52,6 +52,7 @@
</a>
<a v-for="background in shippedBackgrounds"
:key="background.name"
+ v-tooltip="background.details.attribution"
tabindex="0"
class="background"
:class="{ 'icon-loading': loading === background.name }"
@@ -81,10 +82,11 @@ export default {
},
computed: {
shippedBackgrounds() {
- return shippedBackgroundList.map((item) => {
+ return Object.keys(shippedBackgroundList).map((item) => {
return {
name: item,
url: prefixWithBaseUrl(item),
+ details: shippedBackgroundList[item],
}
})
},