summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-05-04 11:35:30 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-05-04 11:35:30 +0200
commitc2fd7b1d1279d378ce4d3b8632a2f577a4fc3d0e (patch)
tree6a1a87a86503d72d348f30029bb32073c84c7f1a /settings
parent7376ea9b269af6cd6355ed9bf386097121c10c77 (diff)
downloadnextcloud-server-c2fd7b1d1279d378ce4d3b8632a2f577a4fc3d0e.tar.gz
nextcloud-server-c2fd7b1d1279d378ce4d3b8632a2f577a4fc3d0e.zip
no link if there is no detailpage property set - fixes #15953
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/apps.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index fb25917ee59..c94e025603f 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}}