summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-01-17 16:07:58 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-01-17 16:08:32 +0100
commite2de3b833765caa021de93713eba134e9e6edc7f (patch)
tree357efb2fd07cec3fdd85164406bab59d429e2480
parentbf0471a92ed4fca8fe3344839acd83d6918cf566 (diff)
downloadnextcloud-server-e2de3b833765caa021de93713eba134e9e6edc7f.tar.gz
nextcloud-server-e2de3b833765caa021de93713eba134e9e6edc7f.zip
distinguish app links from doc links
-rw-r--r--settings/css/settings.css1
-rw-r--r--settings/js/apps.js2
-rw-r--r--settings/templates/apps.php4
3 files changed, 4 insertions, 3 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 8a96885b789..3f5d59e56e2 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -129,6 +129,7 @@ span.version { margin-left:1em; margin-right:1em; color:#555; }
.app:hover, .app:active { max-width: inherit; }
.appslink { text-decoration: underline; }
+.doclink { text-decoration: underline; }
.score { color:#666; font-weight:bold; font-size:0.8em; }
.appinfo .documentation {
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 1d05d01e1f2..ce81dff4485 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -70,7 +70,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
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('a.appslink').attr('href', 'http://apps.owncloud.com/content/show.php?content=' + app.id);
page.find('small.externalapp').hide();
} else {
page.find('p.appslink').hide();
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index ce48ef77d12..be1cf0387b8 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -36,8 +36,8 @@
<p class="description"></p>
<p class="documentation hidden">
<?php p($l->t("Documentation:"));?>
- <span class="userDocumentation appslink"></span>
- <span class="adminDocumentation appslink"></span>
+ <span class="userDocumentation doclink"></span>
+ <span class="adminDocumentation doclink"></span>
</p>
<img src="" class="preview hidden" />
<p class="appslink hidden"><a href="#" target="_blank"><?php