Link to the derivation history page from the branch package page

This commit is contained in:
Christopher Baines 2019-12-27 10:13:01 +00:00
parent 7654877991
commit 1ce1a405a6

View file

@ -176,13 +176,23 @@
(a (@ (href ,(string-append "/repository/" git-repository-id
"/branch/" branch-name)))
(h3 ,(string-append branch-name " branch")))
(a (@ (class "btn btn-default btn-lg pull-right")
(div
(@ (class "btn-group pull-right")
(role "group"))
(a (@ (class "btn btn-default btn-lg")
(href ,(string-append
"/repository/" git-repository-id
"/branch/" branch-name
"/package/" package-name
"/derivation-history")))
"Include derivations")
(a (@ (class "btn btn-default btn-lg")
(href ,(string-append
"/repository/" git-repository-id
"/branch/" branch-name
"/package/" package-name
".json")))
"View JSON")
"View JSON"))
(h1 (@ (style "white-space: nowrap;"))
(samp ,package-name))))
(div