Link to the versions page from the latest revision package page

This commit is contained in:
Christopher Baines 2019-12-27 10:13:34 +00:00
parent 1ce1a405a6
commit 50f550d642
3 changed files with 19 additions and 4 deletions

View file

@ -159,7 +159,8 @@
derivations git-repositories
lint-warnings
#:key header-text
header-link)
header-link
version-history-link)
(layout
#:body
`(,(header)
@ -175,6 +176,12 @@
(@ (class "row"))
(div
(@ (class "col-sm-12"))
,@(if version-history-link
`((a (@ (class "btn btn-lg btn-default pull-right")
(href ,version-history-link)
(role "button"))
"Version history"))
'())
(h1 "Package " ,name " @ " ,version)))
(div
(@ (class "row"))