344 ) { |
344 ) { |
345 withPathInfo(http, dao)?.let {path -> |
345 withPathInfo(http, dao)?.let {path -> |
346 val comments = dao.listComments(issue) |
346 val comments = dao.listComments(issue) |
347 |
347 |
348 with(http) { |
348 with(http) { |
349 pageTitle = "${path.projectInfo.project.name}: #${issue.id} ${issue.subject}" |
349 pageTitle = "#${issue.id} ${issue.subject} (${path.projectInfo.project.name})" |
350 view = IssueDetailView( |
350 view = IssueDetailView( |
351 path, |
351 path, |
352 issue, |
352 issue, |
353 comments, |
353 comments, |
354 path.projectInfo.project, |
354 path.projectInfo.project, |