mirror of
https://github.com/wekan/wekan.git
synced 2026-03-02 11:50:16 +01:00
Add support for clicking label names and board titles
This commit is contained in:
parent
52f920db12
commit
61c691a267
4 changed files with 82 additions and 11 deletions
|
|
@ -32,15 +32,28 @@ template(name="globalSearch")
|
|||
+resultCard(card)
|
||||
else
|
||||
.global-search-instructions
|
||||
h2 Label Colors
|
||||
.palette-colors: each label in labelColors
|
||||
span.card-label.palette-color.js-palette-color(class="card-label-{{label.color}}")
|
||||
= label.name
|
||||
h2 Boards
|
||||
.lists-wrapper
|
||||
each title in myBoardNames.get
|
||||
span.card-label.list-title.js-board-title
|
||||
= title
|
||||
h2 Lists
|
||||
.lists-wrapper
|
||||
each title in myLists.get
|
||||
span.card-label.list-title.js-list-title
|
||||
= title
|
||||
h2 Label Colors
|
||||
.palette-colors: each label in labelColors
|
||||
span.card-label.palette-color.js-label-color(class="card-label-{{label.color}}")
|
||||
= label.name
|
||||
if myLabelNames.get.length
|
||||
h2 Label Names
|
||||
.lists-wrapper
|
||||
each name in myLabelNames.get
|
||||
span.card-label.list-title.js-label-name
|
||||
= name
|
||||
+viewer
|
||||
= searchInstructions
|
||||
|
||||
template(name="globalSearchViewChangePopup")
|
||||
if currentUser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue