|
|
@ -874,8 +874,8 @@ define([
|
|
|
|
// Tags filter
|
|
|
|
// Tags filter
|
|
|
|
var existing = getExistingTags(kanban.options.boards);
|
|
|
|
var existing = getExistingTags(kanban.options.boards);
|
|
|
|
var list = h('div.cp-kanban-filterTags-list');
|
|
|
|
var list = h('div.cp-kanban-filterTags-list');
|
|
|
|
var reset = h('span.cp-kanban-filterTags-reset', [
|
|
|
|
var reset = h('button.btn.btn-secondary.cp-kanban-filterTags-reset', [
|
|
|
|
//h('i.fa.fa-times'), // XXX creates vertical alignment issues
|
|
|
|
h('i.fa.fa-times'),
|
|
|
|
Messages.kanban_clearFilter
|
|
|
|
Messages.kanban_clearFilter
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
var hint = h('span.cp-kanban-filterTags-name', Messages.kanban_tags);
|
|
|
|
var hint = h('span.cp-kanban-filterTags-name', Messages.kanban_tags);
|
|
|
@ -891,8 +891,8 @@ define([
|
|
|
|
var $hint = $(hint);
|
|
|
|
var $hint = $(hint);
|
|
|
|
|
|
|
|
|
|
|
|
var setTagFilterState = function (bool) {
|
|
|
|
var setTagFilterState = function (bool) {
|
|
|
|
$hint.css('display', bool? 'none': 'inherit');
|
|
|
|
$hint.css('visibility', bool? 'hidden': 'visible');
|
|
|
|
$reset.css('display', bool? 'inherit': 'none');
|
|
|
|
$reset.css('visibility', bool? 'visible': 'hidden');
|
|
|
|
};
|
|
|
|
};
|
|
|
|
setTagFilterState();
|
|
|
|
setTagFilterState();
|
|
|
|
|
|
|
|
|
|
|
|