diff options
author | Joas Schilling <coding@schilljs.com> | 2018-03-06 17:24:24 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-03-06 17:24:24 +0100 |
commit | 303085421e80e4cdd39f2af2d0544797b67d9145 (patch) | |
tree | 993f10f3d65a504bab14813609b6817f7fe7e01e /apps/updatenotification/js-src | |
parent | f9eb5c85a3161057b8fd1c091d3bef7c5222f16a (diff) | |
download | nextcloud-server-303085421e80e4cdd39f2af2d0544797b67d9145.tar.gz nextcloud-server-303085421e80e4cdd39f2af2d0544797b67d9145.zip |
Add a little arrow to indicate that the list can be opened
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/updatenotification/js-src')
-rw-r--r-- | apps/updatenotification/js-src/components/root.vue | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/updatenotification/js-src/components/root.vue b/apps/updatenotification/js-src/components/root.vue index 6f6188f4d91..11dfd351c63 100644 --- a/apps/updatenotification/js-src/components/root.vue +++ b/apps/updatenotification/js-src/components/root.vue @@ -9,14 +9,22 @@ </p> <template v-if="missingAppUpdates.length"> - <h3 @click="toggleHideMissingUpdates">{{ t('updatenotification', 'Apps missing updates') }}</h3> + <h3 @click="toggleHideMissingUpdates"> + {{ t('updatenotification', 'Apps missing updates') }} + <span v-if="!hideMissingUpdates" class="icon icon-triangle-n"></span> + <span v-if="hideMissingUpdates" class="icon icon-triangle-s"></span> + </h3> <ul class="applist" v-if="!hideMissingUpdates"> <li v-for="app in missingAppUpdates"><a :href="'https://apps.nextcloud.com/apps/' + app.appId" :title="t('settings', 'View in store')">{{app.appName}} ↗</a></li> </ul> </template> <template v-if="availableAppUpdates.length"> - <h3 @click="toggleHideAvailableUpdates">{{ t('updatenotification', 'Apps with available updates') }}</h3> + <h3 @click="toggleHideAvailableUpdates"> + {{ t('updatenotification', 'Apps with available updates') }} + <span v-if="!hideAvailableUpdates" class="icon icon-triangle-n"></span> + <span v-if="hideAvailableUpdates" class="icon icon-triangle-s"></span> + </h3> <ul class="applist"> <li v-for="app in availableAppUpdates" v-if="!hideAvailableUpdates"><a :href="'https://apps.nextcloud.com/apps/' + app.appId" :title="t('settings', 'View in store')">{{app.appName}} ↗</a></li> </ul> |