distinguish app links from doc links
This commit is contained in:
parent
bf0471a92e
commit
e2de3b8337
|
@ -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 {
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue