summaryrefslogtreecommitdiff
path: root/app/Template/board/task.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-01 14:28:59 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-01 14:28:59 -0500
commit41a344e9cedd510529941770292ab47a6e82e815 (patch)
tree9af128726b6b1a034f7d28514b2ee4dfbe4cb708 /app/Template/board/task.php
parent30cd4c54587d70e4d10230ab425b2ffbe4e62ae2 (diff)
Change label for subtasks percentage
Diffstat (limited to 'app/Template/board/task.php')
-rw-r--r--app/Template/board/task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/board/task.php b/app/Template/board/task.php
index a09d9cce..87eab885 100644
--- a/app/Template/board/task.php
+++ b/app/Template/board/task.php
@@ -98,7 +98,7 @@
<div class="task-board-icons">
<?php if (! empty($task['nb_subtasks'])): ?>
- <span title="<?= t('Sub-Tasks') ?>" class="task-board-tooltip" data-href="<?= $this->u('board', 'subtasks', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= round($task['nb_completed_subtasks']/$task['nb_subtasks']*100,0).'% Completed ' ?><?= $task['nb_completed_subtasks'].'/'.$task['nb_subtasks'] ?> <i class="fa fa-bars"></i></span>
+ <span title="<?= t('Sub-Tasks') ?>" class="task-board-tooltip" data-href="<?= $this->u('board', 'subtasks', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= round($task['nb_completed_subtasks']/$task['nb_subtasks']*100, 0).'%' ?> <i class="fa fa-bars"></i></span>
<?php endif ?>
<?php if (! empty($task['nb_files'])): ?>