]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add a docs link when given 1311/head
authorJoas Schilling <coding@schilljs.com>
Wed, 7 Sep 2016 16:52:49 +0000 (18:52 +0200)
committerJoas Schilling <coding@schilljs.com>
Wed, 7 Sep 2016 16:52:49 +0000 (18:52 +0200)
apps/workflowengine/templates/admin.php

index ea4168b0ff9b8fa800eaeb38e462efd63b1fc1f5..8f0124c5cbe00543543342f4df51ea041087e4d8 100644 (file)
 <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; ?>