mirror of
https://github.com/aelve/guide.git
synced 2024-11-23 21:13:07 +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)
|
||||
|
||||
section "normal" [shown, noScriptShown] $ do
|
||||
p_ $ if item^.ecosystem == ""
|
||||
then "write something here!"
|
||||
else toHtml (item^.ecosystem)
|
||||
unless (item^.ecosystem == "") $
|
||||
p_ (toHtml (item^.ecosystem))
|
||||
|
||||
section "editing" [] $
|
||||
smallMarkdownEditor
|
||||
|
Loading…
Reference in New Issue
Block a user