Improve column hide/show with swimlanes
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<!-- swimlane toggle -->
|
<!-- swimlane toggle -->
|
||||||
<?php if (! $hide_swimlane): ?>
|
<?php if (! $hide_swimlane): ?>
|
||||||
<th class="board-swimlane-header">
|
<th class="board-swimlane-header">
|
||||||
<?php if (! $not_editable && $swimlane['nb_tasks'] > 0): ?>
|
<?php if (! $not_editable): ?>
|
||||||
<a href="#" class="board-swimlane-toggle" data-swimlane-id="<?= $swimlane['id'] ?>">
|
<a href="#" class="board-swimlane-toggle" data-swimlane-id="<?= $swimlane['id'] ?>">
|
||||||
<i class="fa fa-minus-circle hide-icon-swimlane-<?= $swimlane['id'] ?>"></i>
|
<i class="fa fa-minus-circle hide-icon-swimlane-<?= $swimlane['id'] ?>"></i>
|
||||||
<i class="fa fa-plus-circle show-icon-swimlane-<?= $swimlane['id'] ?>" style="display: none"></i>
|
<i class="fa fa-plus-circle show-icon-swimlane-<?= $swimlane['id'] ?>" style="display: none"></i>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -225,7 +225,7 @@ Board.prototype.hideColumn = function(columnId) {
|
|||||||
|
|
||||||
$(".board-column-" + columnId + " .board-rotation").each(function() {
|
$(".board-column-" + columnId + " .board-rotation").each(function() {
|
||||||
var position = $(".board-swimlane").position();
|
var position = $(".board-swimlane").position();
|
||||||
$(".board-column-task-collapsed").height($(window).height() - position.top);
|
// $(".board-column-task-collapsed").height($(window).height() - position.top);
|
||||||
$(this).css("width", $(".board-column-" + columnId + "").height());
|
$(this).css("width", $(".board-column-" + columnId + "").height());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user