summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-18 14:08:38 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-18 14:08:38 -0500
commit45771b685df963b77c15130e49bac0df92034aaf (patch)
tree27785c5e75303f214a5581c1db3a19d07bbe9483 /app/Template
parentc7b7c060a6f0c6866e05199e828053e6690e9413 (diff)
Improve tags management in project settings
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/column/index.php2
-rw-r--r--app/Template/project_tag/index.php18
2 files changed, 14 insertions, 6 deletions
diff --git a/app/Template/column/index.php b/app/Template/column/index.php
index 3c60d021..7c29d4bf 100644
--- a/app/Template/column/index.php
+++ b/app/Template/column/index.php
@@ -28,7 +28,7 @@
<td>
<i class="fa fa-arrows-alt draggable-row-handle" title="<?= t('Change column position') ?>"></i>&nbsp;
<div class="dropdown">
- <a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog fa-fw"></i><i class="fa fa-caret-down"></i></a>
+ <a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog"></i><i class="fa fa-caret-down"></i></a>
<ul>
<li>
<?= $this->modal->medium('edit', t('Edit'), 'ColumnController', 'edit', array('project_id' => $project['id'], 'column_id' => $column['id'])) ?>
diff --git a/app/Template/project_tag/index.php b/app/Template/project_tag/index.php
index 29d7082b..7c347056 100644
--- a/app/Template/project_tag/index.php
+++ b/app/Template/project_tag/index.php
@@ -12,15 +12,23 @@
<?php else: ?>
<table class="table-striped table-scrolling">
<tr>
- <th class="column-80"><?= t('Tag') ?></th>
- <th><?= t('Action') ?></th>
+ <th><?= t('Tag') ?></th>
</tr>
<?php foreach ($tags as $tag): ?>
<tr>
- <td><?= $this->text->e($tag['name']) ?></td>
<td>
- <?= $this->modal->medium('edit', t('Edit'), 'ProjectTagController', 'edit', array('tag_id' => $tag['id'], 'project_id' => $project['id'])) ?>
- <?= $this->modal->confirm('trash-o', t('Remove'), 'ProjectTagController', 'confirm', array('tag_id' => $tag['id'], 'project_id' => $project['id'])) ?>
+ <div class="dropdown">
+ <a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog"></i><i class="fa fa-caret-down"></i></a>
+ <ul>
+ <li>
+ <?= $this->modal->medium('edit', t('Edit'), 'ProjectTagController', 'edit', array('tag_id' => $tag['id'], 'project_id' => $project['id'])) ?>
+ </li>
+ <li>
+ <?= $this->modal->confirm('trash-o', t('Remove'), 'ProjectTagController', 'confirm', array('tag_id' => $tag['id'], 'project_id' => $project['id'])) ?>
+ </li>
+ </ul>
+ </div>
+ <?= $this->text->e($tag['name']) ?>
</td>
</tr>
<?php endforeach ?>