mirror of
https://github.com/wekan/wekan.git
synced 2026-02-28 02:44:07 +01:00
Updated mobile Bookmarks/Starred boards. Part 1. In Progress.
Thanks to xet7 !
This commit is contained in:
parent
f3efaf59e1
commit
da98942cce
9 changed files with 210 additions and 5 deletions
29
client/components/main/bookmarks.jade
Normal file
29
client/components/main/bookmarks.jade
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
template(name="bookmarks")
|
||||
.panel
|
||||
h2 {{_ 'bookmarks'}}
|
||||
if currentUser
|
||||
if hasStarredBoards
|
||||
ul
|
||||
each starredBoards
|
||||
li
|
||||
a(href="{{pathFor 'board' id=_id slug=slug}}")= title
|
||||
a.js-toggle-star(title="{{_ 'star-board-short-unstar'}}")
|
||||
i.fa.fa-star
|
||||
else
|
||||
p {{_ 'no-starred-boards'}}
|
||||
else
|
||||
p {{_ 'please-sign-in'}}
|
||||
|
||||
// Desktop popup
|
||||
template(name="bookmarksPopup")
|
||||
ul.pop-over-list
|
||||
if hasStarredBoards
|
||||
each starredBoards
|
||||
li
|
||||
a(href="{{pathFor 'board' id=_id slug=slug}}")
|
||||
i.fa.fa-star
|
||||
| #{title}
|
||||
a.js-toggle-star.right(title="{{_ 'star-board-short-unstar'}}")
|
||||
i.fa.fa-star
|
||||
else
|
||||
li {{_ 'no-starred-boards'}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue