diff options
Diffstat (limited to 'src/server/View')
-rw-r--r-- | src/server/View/Page.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/View/Page.hs b/src/server/View/Page.hs index e0b924b..41c9b73 100644 --- a/src/server/View/Page.hs +++ b/src/server/View/Page.hs @@ -17,14 +17,15 @@ import Text.Blaze.Html.Renderer.Text (renderHtml) import Design.Global (globalDesign) -import Model.Message (getTranslations) +import Model.Message +import Model.Message.Key (Key(SharedCost)) page :: Text page = renderHtml . docTypeHtml $ do H.head $ do meta ! charset "UTF-8" - H.title "Shared Cost" + H.title (toHtml $ getMessage SharedCost) script ! src "javascripts/client.js" $ "" script ! A.id "messages" ! type_ "application/json" $ toHtml . decodeUtf8 . encode $ getTranslations link ! rel "stylesheet" ! type_ "text/css" ! href "css/reset.css" |