summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2012-04-21 15:30:58 +0200
committerFrank Karlitschek <karlitschek@kde.org>2012-04-21 15:30:58 +0200
commit6bfe2289be05e9f54272a86a0f957ec41ef32e28 (patch)
tree2cf690624aee2f1a5fa943066d3501499f13562d /settings/js
parentef80ad1d48fa7cb61bb0003c0a22928f075ddc60 (diff)
downloadnextcloud-server-6bfe2289be05e9f54272a86a0f957ec41ef32e28.tar.gz
nextcloud-server-6bfe2289be05e9f54272a86a0f957ec41ef32e28.zip
improve the app installer.
show a label if an app is an internal app or a third party app from the app store. show a preview image of the app if available
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 12d09ac69db..df5300911aa 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -13,8 +13,11 @@ $(document).ready(function(){
var app=$(this).data('app');
$('#rightcontent p').show();
$('#rightcontent span.name').text(app.name);
+ $('#rightcontent small.externalapp').text(app.internallabel);
$('#rightcontent span.version').text(app.version);
$('#rightcontent p.description').text(app.description);
+ $('#rightcontent img.preview').attr('src',app.preview);
+ $('#rightcontent small.externalapp').attr('style','visibility:visible');
$('#rightcontent span.author').text(app.author);
$('#rightcontent span.licence').text(app.licence);