Add dropdown menu for column 'Actions' in tables
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<table>
|
||||
<tr>
|
||||
<?php if (! isset($hide_position)): ?>
|
||||
<th><?= t('Position') ?></th>
|
||||
<th class="column-10"><?= t('Position') ?></th>
|
||||
<?php endif ?>
|
||||
<th class="column-60"><?= t('Name') ?></th>
|
||||
<th class="column-35"><?= t('Actions') ?></th>
|
||||
<th><?= t('Name') ?></th>
|
||||
<th class="column-8"><?= t('Actions') ?></th>
|
||||
</tr>
|
||||
<?php foreach ($swimlanes as $swimlane): ?>
|
||||
<tr>
|
||||
@@ -13,6 +13,8 @@
|
||||
<?php endif ?>
|
||||
<td><?= $this->e($swimlane['name']) ?></td>
|
||||
<td>
|
||||
<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>
|
||||
<ul>
|
||||
<?php if ($swimlane['position'] != 0 && $swimlane['position'] != 1): ?>
|
||||
<li>
|
||||
@@ -38,6 +40,7 @@
|
||||
<?= $this->url->link(t('Remove'), 'swimlane', 'confirm', array('project_id' => $project['id'], 'swimlane_id' => $swimlane['id'])) ?>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
|
||||
Reference in New Issue
Block a user