2025-10-14 10:43:39 +03:00
|
|
|
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'}}")
|
2025-10-17 02:19:43 +03:00
|
|
|
| ⭐
|
2025-10-14 10:43:39 +03:00
|
|
|
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}}")
|
2025-10-17 02:19:43 +03:00
|
|
|
| ⭐
|
2025-10-14 10:43:39 +03:00
|
|
|
| #{title}
|
|
|
|
|
a.js-toggle-star.right(title="{{_ 'star-board-short-unstar'}}")
|
2025-10-17 02:19:43 +03:00
|
|
|
| ⭐
|
2025-10-14 10:43:39 +03:00
|
|
|
else
|
|
|
|
|
li {{_ 'no-starred-boards'}}
|