feat(web/panettone): Add "All Issues" link on issue page

This was something that was complained about verbally - if someone gets
a link to an issue directly it's nice to be able to click on a link to
view all issues.

Change-Id: Id4e0c7208edc51980c6577bb10e6c6dea1e7ab55
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1412
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
Griffin Smith 2020-07-23 20:24:42 -04:00 committed by glittershark
parent ed8fed5baa
commit 156c68698b
2 changed files with 13 additions and 1 deletions

View file

@ -144,6 +144,16 @@
:color ,color/gray
:font-size "1.5rem"))
(nav
:display :flex
:color ,color/gray)
(footer
:border-top "1px" "solid" ,color/gray
:padding-top "1rem"
:margin-top "2rem"
:color ,color/gray)
,@(button '.new-issue)
(.alert

View file

@ -365,7 +365,9 @@ updated issue"
(who:esc (displayname author))
" at "
(who:esc (format-dottime (created-at comment)))))))))
(render/new-comment (get-id issue)))))))))
(render/new-comment (get-id issue))))))
(:footer
(:nav (:a :href "/" "All Issues"))))))
(defun render/not-found (entity-type)
(render