In layout header, link to federation status info page

This commit is contained in:
fr33domlover 2019-05-05 11:36:10 +00:00
parent 0a60d65e0e
commit 67a77b1897
3 changed files with 6 additions and 4 deletions

View file

@ -223,6 +223,10 @@ instance Yesod App where
setTitle $ toHtml $
T.intercalate "" (map snd bcs) <> "" <> title
let instanceHost = appInstanceHost $ appSettings master
federationPage :: Text
federationPage =
"https://dev.angeley.es\
\/s/fr33domlover/r/vervis/s/FEDERATION.md"
$(widgetFile "default-layout")
withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")

View file

@ -1,6 +1,6 @@
{- This file is part of Vervis.
-
- Written in 2016 by fr33domlover <fr33domlover@riseup.net>.
- Written in 2016, 2019 by fr33domlover <fr33domlover@riseup.net>.
-
- Copying is an act of love. Please copy, reuse and share.
-

View file

@ -30,9 +30,7 @@ $nothing
<a href=@{AuthR newAccountR}>Sign up.
<p>
UPDATE: Federation is coming! You can <a href=@{PublishR}>publish</a>
activities, and see results in the destination server's
<a href=@{InboxR}>inbox</a> report page!
Federation status: See <a href="#{federationPage}">here</a>!
<.instance>
Vervis @ #{instanceHost}