mirror of
https://github.com/wekan/wekan.git
synced 2026-02-06 00:21:48 +01:00
Start work on paging search results
This commit is contained in:
parent
7ad1171c5f
commit
4e8fc46475
5 changed files with 348 additions and 230 deletions
|
|
@ -37,6 +37,12 @@ template(name="globalSearch")
|
|||
a.fa.fa-link(title="{{_ 'link-to-search' }}" href="{{ getSearchHref }}")
|
||||
each card in results.get
|
||||
+resultCard(card)
|
||||
if hasPreviousPage.get
|
||||
button.js-previous-page
|
||||
| {{_ 'previous-page' }}
|
||||
if hasNextPage.get
|
||||
button.js-next-page
|
||||
| {{_ 'next-page' }}
|
||||
else
|
||||
.global-search-instructions
|
||||
h2 {{_ 'boards' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue