diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-06-03 23:48:59 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-06-03 23:48:59 +0200 |
commit | f3c1d1eded96e948b2ddc608de48778b62232231 (patch) | |
tree | 37528fbb1366125a8af5c427b93c508599e95378 /settings/js | |
parent | e90cbcaf5b5f2f1d39947d16dc3927550874f4d9 (diff) | |
download | nextcloud-server-f3c1d1eded96e948b2ddc608de48778b62232231.tar.gz nextcloud-server-f3c1d1eded96e948b2ddc608de48778b62232231.zip |
link to apps.owncloud.com
thanks to guillaume for the patch
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index f6e08b608bd..5ac7d80b949 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -17,7 +17,7 @@ $(document).ready(function(){ }); $('#leftcontent li').click(function(){ var app=$(this).data('app'); - $('#rightcontent p').show(); + $('#rightcontent p.license').show(); $('#rightcontent span.name').text(app.name); $('#rightcontent small.externalapp').text(app.internallabel); $('#rightcontent span.version').text(app.version); @@ -31,6 +31,10 @@ $(document).ready(function(){ $('#rightcontent input.enable').val((app.active)?t('settings','Disable'):t('settings','Enable')); $('#rightcontent input.enable').data('appid',app.id); $('#rightcontent input.enable').data('active',app.active); + if ( app.internal == false ) { + $('#rightcontent p.appslink').show(); + $('#rightcontent a').attr('href','http://apps.owncloud.com/content/show.php?content='+app.id); + } return false; }); $('#rightcontent input.enable').click(function(){ |