diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-07 18:52:49 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-07 18:52:49 +0200 |
commit | 3dabfb0793a5bad62078942c1f566fc9593c402e (patch) | |
tree | 759c7607ac126ddefadfd2ebc0dc5bfd732c075d /apps/workflowengine/templates | |
parent | 0027304b5fc0a92106dca948b72b6fad04b91299 (diff) | |
download | nextcloud-server-3dabfb0793a5bad62078942c1f566fc9593c402e.tar.gz nextcloud-server-3dabfb0793a5bad62078942c1f566fc9593c402e.zip |
Add a docs link when given
Diffstat (limited to 'apps/workflowengine/templates')
-rw-r--r-- | apps/workflowengine/templates/admin.php | 9 |
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; ?> |