xref: /plugin/bez/tpl/task.php (revision f2c81100fea44d21a0a4b15304beb7e2baf91080)
1<?php if (	$template['action'] === 'task_edit' &&
2            $template['tid'] === $template['task']->id): ?>
3    <?php include 'task_form.php' ?>
4<?php else: ?>
5    <?php include 'task_box.php' ?>
6<?php endif ?>
7
8<?php $template['no_edit'] = true ?>
9
10<?php if (isset($template['commcause'])): ?>
11<div class="bez_comments" style="display: block; margin-bottom: 10px">
12    <?php include 'commcause_box.php' ?>
13</div>
14<?php endif ?>
15
16<?php if (isset($template['issue'])): ?>
17    <?php include 'issue_box.php' ?>
18<?php endif ?>