In layout header, link to federation status info page
This commit is contained in:
parent
0a60d65e0e
commit
67a77b1897
3 changed files with 6 additions and 4 deletions
|
@ -223,6 +223,10 @@ instance Yesod App where
|
||||||
setTitle $ toHtml $
|
setTitle $ toHtml $
|
||||||
T.intercalate " → " (map snd bcs) <> " → " <> title
|
T.intercalate " → " (map snd bcs) <> " → " <> title
|
||||||
let instanceHost = appInstanceHost $ appSettings master
|
let instanceHost = appInstanceHost $ appSettings master
|
||||||
|
federationPage :: Text
|
||||||
|
federationPage =
|
||||||
|
"https://dev.angeley.es\
|
||||||
|
\/s/fr33domlover/r/vervis/s/FEDERATION.md"
|
||||||
$(widgetFile "default-layout")
|
$(widgetFile "default-layout")
|
||||||
withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")
|
withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{- This file is part of Vervis.
|
{- 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.
|
- ♡ Copying is an act of love. Please copy, reuse and share.
|
||||||
-
|
-
|
||||||
|
|
|
@ -30,9 +30,7 @@ $nothing
|
||||||
<a href=@{AuthR newAccountR}>Sign up.
|
<a href=@{AuthR newAccountR}>Sign up.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
UPDATE: Federation is coming! You can <a href=@{PublishR}>publish</a>
|
Federation status: See <a href="#{federationPage}">here</a>!
|
||||||
activities, and see results in the destination server's
|
|
||||||
<a href=@{InboxR}>inbox</a> report page!
|
|
||||||
|
|
||||||
<.instance>
|
<.instance>
|
||||||
Vervis @ #{instanceHost}
|
Vervis @ #{instanceHost}
|
||||||
|
|
Loading…
Reference in a new issue