feat(web/panettone): Add issue subject to page title
Fixes: #8 Change-Id: I5513018e6d4908881a3522a24764729f2638b521 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1408 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
parent
add588e634
commit
fba4d145f8
1 changed files with 4 additions and 1 deletions
|
@ -421,7 +421,10 @@ updated issue"
|
|||
(defroute show-issue ("/issues/:id" :decorators (@auth))
|
||||
(&path (id 'integer))
|
||||
(handler-case
|
||||
(render/issue (get-issue *p-system* id))
|
||||
(let* ((issue (get-issue *p-system* id))
|
||||
(*title* (format nil "~A | Panettone"
|
||||
(subject issue))))
|
||||
(render/issue issue))
|
||||
(issue-not-found (_)
|
||||
(render/not-found "Issue"))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue