mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 03:14:53 +09:00
UI: Tweak the footer repo/commit display
This commit is contained in:
parent
22c7b88a79
commit
840b13eff1
2 changed files with 8 additions and 1 deletions
|
@ -46,6 +46,7 @@ breadcrumbsW = do
|
||||||
revisionW :: WidgetFor site ()
|
revisionW :: WidgetFor site ()
|
||||||
revisionW =
|
revisionW =
|
||||||
let rev = $gitDescribe :: Text
|
let rev = $gitDescribe :: Text
|
||||||
|
hash = $gitHash :: Text
|
||||||
address = "^rjQ3E@vervis.peers.community" :: Text
|
address = "^rjQ3E@vervis.peers.community" :: Text
|
||||||
link = "https://vervis.peers.community/repos/rjQ3E" :: Text
|
link = "https://vervis.peers.community/repos/rjQ3E" :: Text
|
||||||
changes = $gitCommitCount :: Text
|
changes = $gitCommitCount :: Text
|
||||||
|
|
|
@ -14,6 +14,12 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||||
|
|
||||||
<a href="#{link}">
|
<a href="#{link}">
|
||||||
#{address}
|
#{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)
|
||||||
|
|
Loading…
Reference in a new issue