summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/board_index.php4
-rw-r--r--templates/board_public.php4
-rw-r--r--templates/task_edit.php3
-rw-r--r--templates/task_new.php3
-rw-r--r--templates/task_show.php3
5 files changed, 17 insertions, 0 deletions
diff --git a/templates/board_index.php b/templates/board_index.php
index ff10a70b..7a3f8ec1 100644
--- a/templates/board_index.php
+++ b/templates/board_index.php
@@ -52,6 +52,10 @@
<?php endif ?>
</span>
+ <?php if ($task['score']): ?>
+ <span class="task-score"><?= Helper\escape($task['score']) ?></span>
+ <?php endif ?>
+
<div class="task-title">
<?= Helper\escape($task['title']) ?>
</div>
diff --git a/templates/board_public.php b/templates/board_public.php
index ac9e80ae..16c69ce2 100644
--- a/templates/board_public.php
+++ b/templates/board_public.php
@@ -29,6 +29,10 @@
<?php endif ?>
</span>
+ <?php if ($task['score']): ?>
+ <span class="task-score"><?= Helper\escape($task['score']) ?></span>
+ <?php endif ?>
+
<div class="task-title">
<?= Helper\escape($task['title']) ?>
</div>
diff --git a/templates/task_edit.php b/templates/task_edit.php
index 633ac9ae..c4f806fd 100644
--- a/templates/task_edit.php
+++ b/templates/task_edit.php
@@ -20,6 +20,9 @@
<?= Helper\form_label(t('Assignee'), 'owner_id') ?>
<?= Helper\form_select('owner_id', $users_list, $values, $errors) ?><br/>
+ <?= Helper\form_label(t('Story Points'), 'score') ?>
+ <?= Helper\form_number('score', $values, $errors) ?><br/>
+
<?= Helper\form_label(t('Description'), 'description') ?>
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
diff --git a/templates/task_new.php b/templates/task_new.php
index e418748c..dd2ba3b4 100644
--- a/templates/task_new.php
+++ b/templates/task_new.php
@@ -20,6 +20,9 @@
<?= Helper\form_label(t('Assignee'), 'owner_id') ?>
<?= Helper\form_select('owner_id', $users_list, $values, $errors) ?><br/>
+ <?= Helper\form_label(t('Story Points'), 'score') ?>
+ <?= Helper\form_number('score', $values, $errors) ?><br/>
+
<?= Helper\form_label(t('Description'), 'description') ?>
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
diff --git a/templates/task_show.php b/templates/task_show.php
index f09f249e..fffacf74 100644
--- a/templates/task_show.php
+++ b/templates/task_show.php
@@ -8,6 +8,9 @@
<section>
<h3><?= t('Details') ?></h3>
<article id="infos" class="task task-<?= $task['color_id'] ?>">
+ <?php if ($task['score']): ?>
+ <span class="task-score"><?= Helper\escape($task['score']) ?></span>
+ <?php endif ?>
<ul>
<li>
<?= dt('Created on %B %e, %G at %k:%M %p', $task['date_creation']) ?>