Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-07 19:52:49 +0300
committerJoas Schilling <coding@schilljs.com>2016-09-07 19:52:49 +0300
commit3dabfb0793a5bad62078942c1f566fc9593c402e (patch)
tree759c7607ac126ddefadfd2ebc0dc5bfd732c075d /apps/workflowengine/templates
parent0027304b5fc0a92106dca948b72b6fad04b91299 (diff)
Add a docs link when given
Diffstat (limited to 'apps/workflowengine/templates')
-rw-r--r--apps/workflowengine/templates/admin.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/workflowengine/templates/admin.php b/apps/workflowengine/templates/admin.php
index ea4168b0ff9..8f0124c5cbe 100644
--- a/apps/workflowengine/templates/admin.php
+++ b/apps/workflowengine/templates/admin.php
@@ -25,7 +25,14 @@
<div id="<?php p($_['appid']); ?>" class="section workflowengine">
<h2 class="inlineblock"><?php p($_['heading']); ?></h2>
- <?php if ($_['description']): ?>
+ <?php if (!empty($_['docs'])): ?>
+ <a target="_blank" rel="noreferrer" class="icon-info svg"
+ title="<?php p($l->t('Open documentation'));?>"
+ href="<?php p(link_to_docs($_['docs'])); ?>">
+ </a>
+ <?php endif; ?>
+
+ <?php if (!empty($_['description'])): ?>
<p><?php p($_['description']); ?></p>
<?php endif; ?>