193 version = version?.let { SpecificFilter(it) } ?: AllFilter(), |
193 version = version?.let { SpecificFilter(it) } ?: AllFilter(), |
194 component = component?.let { SpecificFilter(it) } ?: AllFilter() |
194 component = component?.let { SpecificFilter(it) } ?: AllFilter() |
195 )).sortedWith(DEFAULT_ISSUE_SORTER) |
195 )).sortedWith(DEFAULT_ISSUE_SORTER) |
196 |
196 |
197 with(http) { |
197 with(http) { |
|
198 pageTitle = project.name |
198 view = ProjectDetails(projectInfo, issues, version, component) |
199 view = ProjectDetails(projectInfo, issues, version, component) |
199 feedPath = feedPath(project) |
200 feedPath = feedPath(project) |
200 navigationMenu = activeProjectNavMenu( |
201 navigationMenu = activeProjectNavMenu( |
201 dao.listProjects(), |
202 dao.listProjects(), |
202 projectInfo, |
203 projectInfo, |
434 } |
437 } |
435 |
438 |
436 val comments = dao.listComments(issue) |
439 val comments = dao.listComments(issue) |
437 |
440 |
438 with(http) { |
441 with(http) { |
|
442 pageTitle = "${projectInfo.project.name}: #${issue.id} ${issue.subject}" |
439 view = IssueDetailView(issue, comments, project, version, component) |
443 view = IssueDetailView(issue, comments, project, version, component) |
440 // TODO: feed path for this particular issue |
444 // TODO: feed path for this particular issue |
441 feedPath = feedPath(projectInfo.project) |
445 feedPath = feedPath(projectInfo.project) |
442 navigationMenu = activeProjectNavMenu( |
446 navigationMenu = activeProjectNavMenu( |
443 dao.listProjects(), |
447 dao.listProjects(), |