summaryrefslogtreecommitdiff
path: root/app/Template/swimlane/table.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-18 09:42:01 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-18 09:42:01 -0500
commitde128dbad860478496a0d655b5eb5c1005ebbabe (patch)
tree7fee510e901273472731e8e843981268c593ec40 /app/Template/swimlane/table.php
parent0430a09c069134622c0161dc2fb9ba3718a73c0d (diff)
Remove default swimlane
Diffstat (limited to 'app/Template/swimlane/table.php')
-rw-r--r--app/Template/swimlane/table.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/app/Template/swimlane/table.php b/app/Template/swimlane/table.php
index 2d783a00..4f87924d 100644
--- a/app/Template/swimlane/table.php
+++ b/app/Template/swimlane/table.php
@@ -6,33 +6,6 @@
<th><?= t('Name') ?></th>
<th class="column-8"><?= t('Actions') ?></th>
</tr>
-
- <?php if (! empty($default_swimlane)): ?>
- <tr>
- <td>
- <?= $this->text->e($default_swimlane['default_swimlane']) ?>
- <?php if ($default_swimlane['default_swimlane'] !== t('Default swimlane')): ?>
- &nbsp;(<?= t('Default swimlane') ?>)
- <?php endif ?>
- </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>
- <li>
- <?= $this->modal->medium('edit', t('Edit'), 'SwimlaneController', 'editDefault', array('project_id' => $project['id'])) ?>
- </li>
- <li>
- <?php if ($default_swimlane['show_default_swimlane'] == 1): ?>
- <?= $this->url->icon('toggle-off', t('Disable'), 'SwimlaneController', 'disableDefault', array('project_id' => $project['id']), true) ?>
- <?php else: ?>
- <?= $this->url->icon('toggle-on', t('Enable'), 'SwimlaneController', 'enableDefault', array('project_id' => $project['id']), true) ?>
- <?php endif ?>
- </li>
- </ul>
- </td>
- </tr>
- <?php endif ?>
</thead>
<tbody>
<?php foreach ($swimlanes as $swimlane): ?>