Add a docs link when given
This commit is contained in:
parent
0027304b5f
commit
3dabfb0793
|
@ -25,7 +25,14 @@
|
||||||
<div id="<?php p($_['appid']); ?>" class="section workflowengine">
|
<div id="<?php p($_['appid']); ?>" class="section workflowengine">
|
||||||
<h2 class="inlineblock"><?php p($_['heading']); ?></h2>
|
<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>
|
<p><?php p($_['description']); ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue