summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/templates
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-05 15:18:15 +0200
committerJoas Schilling <coding@schilljs.com>2016-08-05 15:18:15 +0200
commit94ac627c379f858ac27ad529dd86776344e9707c (patch)
tree3997f2ef49da8c88c633b449869cb6814f035865 /apps/workflowengine/templates
parent09f095d30ffd0d1fc389b32d5457a5dc7a0922d3 (diff)
downloadnextcloud-server-94ac627c379f858ac27ad529dd86776344e9707c.tar.gz
nextcloud-server-94ac627c379f858ac27ad529dd86776344e9707c.zip
Allow a description for workflow sections
Diffstat (limited to 'apps/workflowengine/templates')
-rw-r--r--apps/workflowengine/templates/admin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/workflowengine/templates/admin.php b/apps/workflowengine/templates/admin.php
index 275ca390627..ea4168b0ff9 100644
--- a/apps/workflowengine/templates/admin.php
+++ b/apps/workflowengine/templates/admin.php
@@ -24,6 +24,11 @@
?>
<div id="<?php p($_['appid']); ?>" class="section workflowengine">
<h2 class="inlineblock"><?php p($_['heading']); ?></h2>
+
+ <?php if ($_['description']): ?>
+ <p><?php p($_['description']); ?></p>
+ <?php endif; ?>
+
<script type="text/template" id="operations-template">
<div class="operations"></div>
<button class="button-add-operation"><?php p($l->t('Add rule group')); ?></button>