Do not show the checkbox "Show default swimlane" when there is no active swimlanes
This commit is contained in:
parent
bd583674bc
commit
8970fba41f
|
|
@ -18,6 +18,7 @@ Core functionalities moved to plugins:
|
|||
|
||||
Improvements:
|
||||
|
||||
* Do not show the checkbox "Show default swimlane" when there is no active swimlanes
|
||||
* Append filters instead of replacing value for users and categories dropdowns
|
||||
* Do not show empty swimlanes in public view
|
||||
* Change swimlane layout to save space on the screen
|
||||
|
|
|
|||
|
|
@ -52,7 +52,9 @@
|
|||
<?= $this->form->label(t('Rename'), 'default_swimlane') ?>
|
||||
<?= $this->form->text('default_swimlane', $default_swimlane, array(), array('required', 'maxlength="50"')) ?><br/>
|
||||
|
||||
<?= $this->form->checkbox('show_default_swimlane', t('Show default swimlane'), 1, isset($default_swimlane['show_default_swimlane']) && $default_swimlane['show_default_swimlane'] == 1) ?>
|
||||
<?php if (! empty($active_swimlanes)): ?>
|
||||
<?= $this->form->checkbox('show_default_swimlane', t('Show default swimlane'), 1, isset($default_swimlane['show_default_swimlane']) && $default_swimlane['show_default_swimlane'] == 1) ?>
|
||||
<?php endif ?>
|
||||
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue