diff options
author | Christopher Baines <mail@cbaines.net> | 2019-11-14 21:08:23 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-11-14 21:08:23 +0000 |
commit | eaf3708e2adf1270f3623313a97b83cab4b6b216 (patch) | |
tree | 520f30ffd6d0c95b68e7cfa4ce7e8764668be39a | |
parent | edef55b43e72509ecfd68f25cb597128219d3aba (diff) | |
download | data-service-eaf3708e2adf1270f3623313a97b83cab4b6b216.tar data-service-eaf3708e2adf1270f3623313a97b83cab4b6b216.tar.gz |
Link to the formatted derivation page
-rw-r--r-- | guix-data-service/web/view/html.scm | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm index 9381b2b..93d44a9 100644 --- a/guix-data-service/web/view/html.scm +++ b/guix-data-service/web/view/html.scm @@ -516,7 +516,18 @@ (@ (class "row")) (div (@ (class "col-sm-12")) - ,(display-store-item-title file-name))))) + ,(display-store-item-title file-name) + (div + (@ (class "btn-group pull-right") + (role "group")) + (a (@ (class "btn btn-lg btn-default disabled") + (href ,file-name) + (role "button")) + "Detail view") + (a (@ (class "btn btn-lg btn-default") + (href ,(string-append file-name "/formatted")) + (role "button")) + "Formatted view")))))) (div (@ (class "row")) (div @@ -600,7 +611,18 @@ (@ (class "row")) (div (@ (class "col-sm-12")) - ,(display-store-item-title file-name))))) + ,(display-store-item-title file-name) + (div + (@ (class "btn-group pull-right") + (role "group")) + (a (@ (class "btn btn-lg btn-default") + (href ,file-name) + (role "button")) + "Detail view") + (a (@ (class "btn btn-lg btn-default disabled") + (href ,(string-append file-name "/formatted")) + (role "button")) + "Formatted view")))))) (div (@ (class "row")) (div |