Skip to content
Snippets Groups Projects
Commit 3dc840ca authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #1311 from nextcloud/add-doc-link

Add a docs link when given
parents c36ceb6f 3dabfb07
No related branches found
No related tags found
No related merge requests found
......@@ -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; ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment