1
1
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:
Artyom 2016-03-17 14:52:32 +03:00
parent f116663b29
commit 6f6a161abc

View File

@ -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