[Pkg-owncloud-commits] [owncloud] 34/122: no link if there is no detailpage property set - fixes #15953
David Prévot
taffit at moszumanska.debian.org
Sat May 9 00:00:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit c2fd7b1d1279d378ce4d3b8632a2f577a4fc3d0e
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Mon May 4 11:35:30 2015 +0200
no link if there is no detailpage property set - fixes #15953
---
settings/templates/apps.php | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index fb25917..c94e025 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -54,7 +54,13 @@ script(
<div class="app-image{{#if previewAsIcon}} app-image-icon{{/if}} hidden">
</div>
{{/if}}
- <h2 class="app-name"><a href="{{detailpage}}" target="_blank">{{name}}</a></h2>
+ <h2 class="app-name">
+ {{#if detailpage}}
+ <a href="{{detailpage}}" target="_blank">{{name}}</a>
+ {{else}}
+ {{name}}
+ {{/if}}
+ </h2>
<div class="app-version"> {{version}}</div>
{{#if profilepage}}<a href="{{profilepage}}" target="_blank" rel="noreferrer">{{/if}}
<div class="app-author"><?php p($l->t('by')); ?> {{author}}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list