Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add a docs link when given
  • Loading branch information
nickvergessen committed Sep 7, 2016
commit 3dabfb0793a5bad62078942c1f566fc9593c402e
9 changes: 8 additions & 1 deletion apps/workflowengine/templates/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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; ?>

Expand Down