mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
29 lines
774 B
Text
29 lines
774 B
Text
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'}}")
|
|
| ⭐
|
|
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}}")
|
|
| ⭐
|
|
| #{title}
|
|
a.js-toggle-star.right(title="{{_ 'star-board-short-unstar'}}")
|
|
| ⭐
|
|
else
|
|
li {{_ 'no-starred-boards'}}
|