diff options
author | Christopher Baines <mail@cbaines.net> | 2019-11-14 21:08:23 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-11-21 19:54:54 +0000 |
commit | 022cbc68efed31983309627a60b2043019f01df5 (patch) | |
tree | 520f30ffd6d0c95b68e7cfa4ce7e8764668be39a | |
parent | 78e830d91e1f4a6dbe6be42731d2c9e518a905e6 (diff) | |
download | data-service-022cbc68efed31983309627a60b2043019f01df5.tar data-service-022cbc68efed31983309627a60b2043019f01df5.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 |