mirror of
https://github.com/aelve/guide.git
synced 2024-12-18 02:11:33 +03:00
Don't say “write something here” for ecosystem
This commit is contained in:
parent
f116663b29
commit
6f6a161abc
@ -489,9 +489,8 @@ renderItemEcosystem item = do
|
|||||||
JS.switchSection (this, "editing" :: Text)
|
JS.switchSection (this, "editing" :: Text)
|
||||||
|
|
||||||
section "normal" [shown, noScriptShown] $ do
|
section "normal" [shown, noScriptShown] $ do
|
||||||
p_ $ if item^.ecosystem == ""
|
unless (item^.ecosystem == "") $
|
||||||
then "write something here!"
|
p_ (toHtml (item^.ecosystem))
|
||||||
else toHtml (item^.ecosystem)
|
|
||||||
|
|
||||||
section "editing" [] $
|
section "editing" [] $
|
||||||
smallMarkdownEditor
|
smallMarkdownEditor
|
||||||
|
Loading…
Reference in New Issue
Block a user