summaryrefslogtreecommitdiff
path: root/app/Template/board/task_menu.php
diff options
context:
space:
mode:
authorFrancois Ferrand <thetypz@gmail.com>2015-02-24 16:26:57 +0100
committerFrancois Ferrand <thetypz@gmail.com>2015-02-25 11:33:56 +0100
commit6b09ff766ae0030ddfeef9a526c62582e0821b2a (patch)
treeb2dfbc93e3fe65b3a7c44f5a557758a93d9d14bc /app/Template/board/task_menu.php
parent11d1314fbe96c8f19d898cf18dc615a49a89fd0d (diff)
Avoid re-layout when displaying the page.
Use <span>/<span> instead of <ul>/<il> for task menu anchor, to avoid flickering items when the menus are created.
Diffstat (limited to 'app/Template/board/task_menu.php')
-rw-r--r--app/Template/board/task_menu.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/board/task_menu.php b/app/Template/board/task_menu.php
index e7e0f419..bbf12291 100644
--- a/app/Template/board/task_menu.php
+++ b/app/Template/board/task_menu.php
@@ -1,5 +1,5 @@
-<ul class="dropdown">
- <li>
+<span class="dropdown">
+ <span>
<a href="#" class="dropdown-menu"><?= '#'.$task['id'] ?></a>
<ul>
<li><i class="fa fa-user"></i> <?= $this->a(t('Change assignee'), 'board', 'changeAssignee', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-board-popover') ?></li>
@@ -9,5 +9,5 @@
<li><i class="fa fa-pencil-square-o"></i> <?= $this->a(t('Edit this task'), 'task', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-board-popover') ?></li>
<li><i class="fa fa-close"></i> <?= $this->a(t('Close this task'), 'task', 'close', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'redirect' => 'board'), false, 'task-board-popover') ?></li>
</ul>
- </li>
-</ul> \ No newline at end of file
+ </span>
+</span> \ No newline at end of file