summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-17 16:38:11 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-17 16:38:11 +0200
commit6081bfa2bcbe121e373486273ecce58a49e6fa97 (patch)
treef2504800c66919a53eff9323724b493079569495 /settings/js
parentc2b4e534534e083147bbad9b564179832cfa2912 (diff)
parent44287d680bd0e8799724a7595db43c0fafcaff40 (diff)
downloadnextcloud-server-6081bfa2bcbe121e373486273ecce58a49e6fa97.tar.gz
nextcloud-server-6081bfa2bcbe121e373486273ecce58a49e6fa97.zip
Merge branch 'master' into routing
Conflicts: lib/search/provider/file.php settings/ajax/changepassword.php settings/settings.php
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 4ffbc41f22c..8de95100c4c 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -17,6 +17,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
} else {
page.find('span.version').text('');
}
+ page.find('span.score').html(app.score);
page.find('p.description').html(app.description);
page.find('img.preview').attr('src', app.preview);
page.find('small.externalapp').attr('style', 'visibility:visible');
@@ -28,10 +29,13 @@ OC.Settings.Apps = OC.Settings.Apps || {
page.find('input.enable').data('appid', app.id);
page.find('input.enable').data('active', app.active);
if (app.internal == false) {
+ page.find('span.score').show();
page.find('p.appslink').show();
page.find('a').attr('href', 'http://apps.owncloud.com/content/show.php?content=' + app.id);
+ page.find('small.externalapp').hide();
} else {
page.find('p.appslink').hide();
+ page.find('span.score').hide();
}
},
enableApp:function(appid, active, element) {