summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-04 20:51:52 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-04 20:51:52 -0400
commitb2ba780c9dded0bb2f0669986144c53db5eb6a2c (patch)
tree7780bda0512a4d24cb8a8d178c93a3afe16064b8 /app/Template/board
parentc231b65cfc54aad8b143a76e19c6aea428f42a5c (diff)
Show title in tooltip for collapsed tasks
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/table_swimlane.php2
-rw-r--r--app/Template/board/task_footer.php2
-rw-r--r--app/Template/board/task_private.php4
3 files changed, 5 insertions, 3 deletions
diff --git a/app/Template/board/table_swimlane.php b/app/Template/board/table_swimlane.php
index b86fc446..436c53b5 100644
--- a/app/Template/board/table_swimlane.php
+++ b/app/Template/board/table_swimlane.php
@@ -22,7 +22,7 @@
<?= $this->e($column['title']) ?>
<?php if (! $not_editable && ! empty($column['description'])): ?>
- <span class="column-tooltip pull-right" title='<?= $this->e($this->text->markdown($column['description'])) ?>'>
+ <span class="tooltip pull-right" title='<?= $this->e($this->text->markdown($column['description'])) ?>'>
<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index e9f22b7b..69bf97c1 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -10,7 +10,7 @@
'changeCategory',
array('task_id' => $task['id'], 'project_id' => $task['project_id']),
false,
- 'task-board-popover' . (! empty($task['category_description']) ? ' column-tooltip' : ''),
+ 'task-board-popover' . (! empty($task['category_description']) ? ' tooltip' : ''),
! empty($task['category_description']) ? $this->text->markdown($task['category_description']) : t('Change category')
) ?>
<?php endif ?>
diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php
index 48e931c9..87121f2c 100644
--- a/app/Template/board/task_private.php
+++ b/app/Template/board/task_private.php
@@ -16,7 +16,9 @@
<?= $this->e($this->user->getInitials($task['assignee_name'] ?: $task['assignee_username'])) ?>
</span> -
<?php endif ?>
- <?= $this->url->link($this->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-board-collapsed-title') ?>
+ <span class="tooltip" title="<?= $this->e($task['title']) ?>"
+ <?= $this->url->link($this->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-board-collapsed-title') ?>
+ </span>
</div>
<div class="task-board-expanded">