mirror of
https://github.com/wekan/wekan.git
synced 2025-12-26 04:08:49 +01:00
Merge pull request #4065 from mfilser/fix_markdown_header_quick_access
Fix markdown header quick access
This commit is contained in:
commit
c95ccaa5c9
2 changed files with 14 additions and 3 deletions
|
|
@ -16,12 +16,14 @@ template(name="header")
|
|||
each currentBoard.lists
|
||||
li(class="{{#if $.Session.equals 'currentList' _id}}current{{/if}}")
|
||||
a.js-select-list
|
||||
= title
|
||||
+viewer
|
||||
= title
|
||||
else
|
||||
each currentUser.starredBoards
|
||||
li(class="{{#if $.Session.equals 'currentBoard' _id}}current{{/if}}")
|
||||
a(href="{{pathFor 'board' id=_id slug=slug}}")
|
||||
= title
|
||||
+viewer
|
||||
= title
|
||||
#header-new-board-icon
|
||||
else
|
||||
//-
|
||||
|
|
@ -49,7 +51,8 @@ template(name="header")
|
|||
each currentUser.starredBoards
|
||||
li(class="{{#if $.Session.equals 'currentBoard' _id}}current{{/if}}")
|
||||
a(href="{{pathFor 'board' id=_id slug=slug}}")
|
||||
= title
|
||||
+viewer
|
||||
= title
|
||||
else
|
||||
li.current.empty {{_ 'quick-access-description'}}
|
||||
|
||||
|
|
|
|||
|
|
@ -135,6 +135,14 @@
|
|||
padding: 12px 10px
|
||||
margin: -10px 0px
|
||||
|
||||
.viewer
|
||||
display: inline
|
||||
white-space: nowrap
|
||||
|
||||
p
|
||||
display: inline
|
||||
white-space: nowrap
|
||||
|
||||
&.current
|
||||
color: darken(white, 5%)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue