summaryrefslogtreecommitdiff
path: root/app/Template/project
diff options
context:
space:
mode:
authorxavier.vidal <xavier.vidal@pc-0608-008.oficinas.atrapalo.com>2015-09-29 09:46:02 +0200
committerxavier.vidal <xavier.vidal@pc-0608-008.oficinas.atrapalo.com>2015-09-29 09:46:02 +0200
commit118f265c11701d6e050650bd7eb8dd84508323ab (patch)
tree7ea6b3bf8d14f46835773a16b910e202ce2fbaaf /app/Template/project
parentf6c1984bdd153d55731d18d57d95825c3298415c (diff)
parent91eeeee6c511246df56b4720f69d450b8787dd03 (diff)
Merge branch 'master' into project_name_in_task_links
* master: ajout captures pour les vues essai intégration image Append filters instead of replacing value for users and categories dropdowns Do not show empty swimlanes in public view Show complexity sum across all swimlanes Show number of tasks for each column across all swimlanes Fix regression (css) Change swimlane layout to save space on the screen Add the possibility to set/unset max column height (scrolling) settings chapter Add getPluginHomepage() Add page to show the list of plugins Do not use preventDefault() with .close-popover when there is no popover opened Show "Open this task" in dropdown menu for closed tasks Add contributor Update app.css Update popover.css Show assignee on card only when someone is assigned
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/filters.php18
1 files changed, 12 insertions, 6 deletions
diff --git a/app/Template/project/filters.php b/app/Template/project/filters.php
index fa50b36a..5b9ac472 100644
--- a/app/Template/project/filters.php
+++ b/app/Template/project/filters.php
@@ -21,6 +21,14 @@
<i class="fa fa-arrows-h fa-fw"></i> <a href="#" class="filter-toggle-scrolling" title="<?= t('Keyboard shortcut: "%s"', 'c') ?>"><?= t('Horizontal scrolling') ?></a>
</span>
</li>
+ <li>
+ <span class="filter-max-height" style="display: none">
+ <i class="fa fa-arrows-v fa-fw"></i> <a href="#" class="filter-toggle-height"><?= t('Set maximum column height') ?></a>
+ </span>
+ <span class="filter-min-height">
+ <i class="fa fa-arrows-v fa-fw"></i> <a href="#" class="filter-toggle-height"><?= t('Remove maximum column height') ?></a>
+ </span>
+ </li>
<?php endif ?>
<?= $this->render('project/dropdown', array('project' => $project)) ?>
</ul>
@@ -59,10 +67,9 @@
<div class="dropdown filters">
<i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Users') ?></a>
<ul>
- <li><a href="#" class="filter-helper" data-filter="status:open"><?= t('All users') ?></a></li>
- <li><a href="#" class="filter-helper" data-filter="status:open assignee:nobody"><?= t('Not assigned') ?></a></li>
+ <li><a href="#" class="filter-helper" data-append-filter="assignee:nobody"><?= t('Not assigned') ?></a></li>
<?php foreach ($users_list as $user): ?>
- <li><a href="#" class="filter-helper" data-filter='status:open assignee:"<?= $this->e($user) ?>"'><?= $this->e($user) ?></a></li>
+ <li><a href="#" class="filter-helper" data-append-filter='assignee:"<?= $this->e($user) ?>"'><?= $this->e($user) ?></a></li>
<?php endforeach ?>
</ul>
</div>
@@ -72,10 +79,9 @@
<div class="dropdown filters">
<i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Categories') ?></a>
<ul>
- <li><a href="#" class="filter-helper" data-filter="status:open"><?= t('All categories') ?></a></li>
- <li><a href="#" class="filter-helper" data-filter="status:open category:none"><?= t('No category') ?></a></li>
+ <li><a href="#" class="filter-helper" data-append-filter="category:none"><?= t('No category') ?></a></li>
<?php foreach ($categories_list as $category): ?>
- <li><a href="#" class="filter-helper" data-filter='status:open category:"<?= $this->e($category) ?>"'><?= $this->e($category) ?></a></li>
+ <li><a href="#" class="filter-helper" data-append-filter='category:"<?= $this->e($category) ?>"'><?= $this->e($category) ?></a></li>
<?php endforeach ?>
</ul>
</div>