mirror of
https://github.com/aelve/guide.git
synced 2024-11-27 10:10:50 +03:00
Switch the order of “edit notes” and “hide notes”
This commit is contained in:
parent
9a1dfec816
commit
2504b6c969
@ -637,11 +637,11 @@ renderItemNotes category item = do
|
||||
|
||||
section "expanded" [noScriptShown] $ do
|
||||
let buttons = do
|
||||
textButton "edit notes" $
|
||||
JS.switchSection (this, "editing" :: Text)
|
||||
emptySpan "1em"
|
||||
textButton "hide notes" $
|
||||
JS.switchSection (this, "collapsed" :: Text)
|
||||
emptySpan "1em"
|
||||
textButton "edit notes" $
|
||||
JS.switchSection (this, "editing" :: Text)
|
||||
buttons
|
||||
if T.null (item^.notes)
|
||||
then p_ "add something!"
|
||||
|
Loading…
Reference in New Issue
Block a user