summaryrefslogtreecommitdiff
path: root/app/Template/subtask
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 16:42:29 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 16:42:29 -0500
commit7b97c50569514deb96aca26e9162949cc6fbd89b (patch)
tree6731c64738a473561c2eaeff95013edf832c0aad /app/Template/subtask
parent4b70942bc486cb7c66beced212f25d73265129a4 (diff)
Improve css for tablets and fix minor bug
Diffstat (limited to 'app/Template/subtask')
-rw-r--r--app/Template/subtask/show.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php
index d0b3a606..b453762c 100644
--- a/app/Template/subtask/show.php
+++ b/app/Template/subtask/show.php
@@ -7,8 +7,8 @@
<table class="subtasks-table">
<tr>
- <th width="40%"><?= t('Title') ?></th>
- <th><?= t('Status') ?></th>
+ <th class="column-40"><?= t('Title') ?></th>
+ <th class="column-15"><?= t('Status') ?></th>
<th><?= t('Assignee') ?></th>
<th><?= t('Time tracking') ?></th>
<?php if (! isset($not_editable)): ?>
@@ -42,9 +42,14 @@
</td>
<?php if (! isset($not_editable)): ?>
<td>
- <?= $this->a(t('Edit'), 'subtask', 'edit', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
- <?= t('or') ?>
- <?= $this->a(t('Remove'), 'subtask', 'confirm', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
+ <ul>
+ <li>
+ <?= $this->a(t('Edit'), 'subtask', 'edit', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
+ </li>
+ <li>
+ <?= $this->a(t('Remove'), 'subtask', 'confirm', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?>
+ </li>
+ </ul>
</td>
<?php endif ?>
</tr>