UI: Tweak the footer repo/commit display

This commit is contained in:
Pere Lev 2023-11-21 10:55:38 +02:00
parent 22c7b88a79
commit 840b13eff1
No known key found for this signature in database
GPG key ID: 5252C5C863E5E57D
2 changed files with 8 additions and 1 deletions

View file

@ -46,6 +46,7 @@ breadcrumbsW = do
revisionW :: WidgetFor site ()
revisionW =
let rev = $gitDescribe :: Text
hash = $gitHash :: Text
address = "^rjQ3E@vervis.peers.community" :: Text
link = "https://vervis.peers.community/repos/rjQ3E" :: Text
changes = $gitCommitCount :: Text

View file

@ -14,6 +14,12 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
<a href="#{link}">
#{address}
<a href="https://codeberg.org/ForgeFed/Vervis">
(mirror)
» #
#{rev} (total: #{changes} patches)
<a href="#{link}/commits/#{hash}">
#{rev}
<a href="https://codeberg.org/ForgeFed/Vervis/commit/#{hash}">
(mirror)
(total: #{changes} commits)