summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-16 23:28:02 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-16 23:28:02 -0500
commit2c68efac3ae754c0d8162bf59eb1be30e1188902 (patch)
tree0c9a40d74e36eee98bf732667a2d4cf83cbd27da /app
parent0db66953a78b704e3710b970ab11b87058bb3859 (diff)
Add chosen multiple select for due date and recent filters
Diffstat (limited to 'app')
-rw-r--r--app/Locale/da_DK/translations.php1
-rw-r--r--app/Locale/de_DE/translations.php1
-rw-r--r--app/Locale/es_ES/translations.php1
-rw-r--r--app/Locale/fi_FI/translations.php1
-rw-r--r--app/Locale/fr_FR/translations.php5
-rw-r--r--app/Locale/hu_HU/translations.php1
-rw-r--r--app/Locale/it_IT/translations.php1
-rw-r--r--app/Locale/ja_JP/translations.php1
-rw-r--r--app/Locale/pl_PL/translations.php1
-rw-r--r--app/Locale/pt_BR/translations.php1
-rw-r--r--app/Locale/ru_RU/translations.php1
-rw-r--r--app/Locale/sv_SE/translations.php1
-rw-r--r--app/Locale/th_TH/translations.php1
-rw-r--r--app/Locale/zh_CN/translations.php1
-rw-r--r--app/Template/board/filters.php13
15 files changed, 23 insertions, 8 deletions
diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php
index ef4a8f7e..75f27a7c 100644
--- a/app/Locale/da_DK/translations.php
+++ b/app/Locale/da_DK/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php
index b5a7bcf7..cb05e2f7 100644
--- a/app/Locale/de_DE/translations.php
+++ b/app/Locale/de_DE/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php
index 91a1df15..3981f12d 100644
--- a/app/Locale/es_ES/translations.php
+++ b/app/Locale/es_ES/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php
index f0a28cdb..06b21953 100644
--- a/app/Locale/fi_FI/translations.php
+++ b/app/Locale/fi_FI/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php
index 16ef8272..d04005c3 100644
--- a/app/Locale/fr_FR/translations.php
+++ b/app/Locale/fr_FR/translations.php
@@ -278,7 +278,7 @@ return array(
'Remember Me' => 'Connexion automatique',
'Creation date' => 'Date de création',
'Filter by user' => 'Filtrer par utilisateur',
- 'Filter by due date' => 'Filtrer par date d\'échéance',
+ 'Filter by due date' => 'Avec une date d\'échéance',
'Everybody' => 'Tout le monde',
'Open' => 'Ouvert',
'Closed' => 'Fermé',
@@ -733,6 +733,7 @@ return array(
'Keyboard shortcuts' => 'Raccourcis clavier',
'Open board switcher' => 'Ouvrir le sélecteur de tableau',
'Application' => 'Application',
- 'Filter recently updated' => 'Filtrer récents',
+ 'Filter recently updated' => 'Récemment modifié',
'since %B %e, %Y at %k:%M %p' => 'depuis le %d/%m/%Y à %H:%M',
+ 'More filters' => 'Plus de filtres',
);
diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php
index e08154fb..1780505f 100644
--- a/app/Locale/hu_HU/translations.php
+++ b/app/Locale/hu_HU/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php
index 34b65c9d..525c828b 100644
--- a/app/Locale/it_IT/translations.php
+++ b/app/Locale/it_IT/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php
index 532c5605..90af6a02 100644
--- a/app/Locale/ja_JP/translations.php
+++ b/app/Locale/ja_JP/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php
index 38b83e04..c6becf4c 100644
--- a/app/Locale/pl_PL/translations.php
+++ b/app/Locale/pl_PL/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php
index 38ea9c42..5e579c4e 100644
--- a/app/Locale/pt_BR/translations.php
+++ b/app/Locale/pt_BR/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php
index 0b020cc1..02a66b56 100644
--- a/app/Locale/ru_RU/translations.php
+++ b/app/Locale/ru_RU/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php
index 29ddf9cc..2fcc3ce5 100644
--- a/app/Locale/sv_SE/translations.php
+++ b/app/Locale/sv_SE/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php
index 1a8d8191..1945f043 100644
--- a/app/Locale/th_TH/translations.php
+++ b/app/Locale/th_TH/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php
index 63f2b05f..cd1e2ebe 100644
--- a/app/Locale/zh_CN/translations.php
+++ b/app/Locale/zh_CN/translations.php
@@ -733,4 +733,5 @@ return array(
// 'Application' => '',
// 'Filter recently updated' => '',
// 'since %B %e, %Y at %k:%M %p' => '',
+ // 'More filters' => '',
);
diff --git a/app/Template/board/filters.php b/app/Template/board/filters.php
index fee8176c..31d647f6 100644
--- a/app/Template/board/filters.php
+++ b/app/Template/board/filters.php
@@ -49,16 +49,17 @@
</ul>
</li>
<li>
- <?= $this->formSelect('user_id', $users, array(), array(), array('data-placeholder="'.t('Filter by user').'"')) ?>
+ <?= $this->formSelect('user_id', $users, array(), array(), array('data-placeholder="'.t('Filter by user').'"'), 'apply-filters chosen-select') ?>
</li>
<li>
- <?= $this->formSelect('category_id', $categories, array(), array(), array('data-placeholder="'.t('Filter by category').'"')) ?>
+ <?= $this->formSelect('category_id', $categories, array(), array(), array('data-placeholder="'.t('Filter by category').'"'), 'apply-filters chosen-select') ?>
</li>
<li>
- <a href="#" id="filter-due-date"><?= t('Filter by due date') ?></a>
- </li>
- <li>
- <a href="#" id="filter-recent"><?= t('Filter recently updated') ?></a>
+ <select id="more-filters" multiple data-placeholder="<?= t('More filters') ?>" class="apply-filters chosen-select">
+ <option value=""></option>
+ <option value="filter-due-date"><?= t('Filter by due date') ?></option>
+ <option value="filter-recent"><?= t('Filter recently updated') ?></option>
+ </select>
</li>
</ul>
</div> \ No newline at end of file