summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-31 21:44:49 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-31 21:44:49 -0500
commit26492aba7ee2bfb8c525ea0aaa580aff47a414ba (patch)
treede2ebb411685057a2a8723ca7f763966478a39f7 /app/Template/task
parent271543431e999032d6e91197633119309fa6c622 (diff)
Simplify layout and templates generation
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/details.php2
-rw-r--r--app/Template/task/layout.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index d885ca9c..2e70e561 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -1,5 +1,5 @@
<div class="color-<?= $task['color_id'] ?> task-show-details">
- <h2><?= $this->e('#'.$task['id'].' '.$task['title']) ?></h2>
+ <h2><?= $this->e($task['title']) ?></h2>
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->e($task['score']) ?></span>
<?php endif ?>
diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php
index 9fe1a716..09dbb2ea 100644
--- a/app/Template/task/layout.php
+++ b/app/Template/task/layout.php
@@ -19,10 +19,10 @@
</div>
<section class="sidebar-container" id="task-section">
- <?= $this->render('task/sidebar', array('task' => $task)) ?>
+ <?= $this->render($sidebar_template, array('task' => $task)) ?>
<div class="sidebar-content">
- <?= $task_content_for_layout ?>
+ <?= $content_for_sublayout ?>
</div>
</section>
</section> \ No newline at end of file