Link to the versions page from the latest revision package page
This commit is contained in:
parent
1ce1a405a6
commit
50f550d642
3 changed files with 19 additions and 4 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue