diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-05-29 17:53:03 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 11:40:09 +0200 |
commit | 334f0ad61bf5bea8027c28146477b0ab157d0354 (patch) | |
tree | 0b3870e511a2efd3b75aac1e113344bc163973e6 /settings | |
parent | bf7cef10bec3deaa0d1942815c2a53644663a2a9 (diff) | |
download | nextcloud-server-334f0ad61bf5bea8027c28146477b0ab157d0354.tar.gz nextcloud-server-334f0ad61bf5bea8027c28146477b0ab157d0354.zip |
Add hint for shipped apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/src/components/appDetails.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/settings/src/components/appDetails.vue b/settings/src/components/appDetails.vue index 3370ee055e4..faa5e022703 100644 --- a/settings/src/components/appDetails.vue +++ b/settings/src/components/appDetails.vue @@ -24,9 +24,10 @@ <div id="app-details-view" style="padding: 20px;"> <a class="close icon-close" href="#" v-on:click="hideAppDetails"><span class="hidden-visually">Close</span></a> <h2>{{ app.name }}</h2> - <img :src="app.preview" width="100%" /> + <img :src="app.screenshot" width="100%" /> + <p v-if="app.internal">{{ t('settings', 'This app is shipped with the release, therefore no further information is available') }}</p> <app-score v-if="app.appstoreData && app.appstoreData.ratingNumOverall > 5" :score="app.appstoreData.ratingOverall"></app-score> - <div class="app-author"> + <div class="app-author" v-if="author"> {{ t('settings', 'by') }} <span v-for="a in author"> <a v-if="a['@attributes'] && a['@attributes']['homepage']" :href="a['@attributes']['homepage']">{{ a['@value'] }}</a> @@ -34,7 +35,7 @@ </span> </div> - {{ licence }} + <div class="app-licence" v-if="licence">{{ licence }}</div> <div class="actions"> <div class="warning hidden"></div> <input v-if="app.update" class="update" type="button" :value="t('settings', 'Update to %s', app.update)" /> |