src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt

changeset 205
7725a79416f3
parent 200
a5ddfaf6b469
child 207
479dd7993ef9
     1.1 --- a/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt	Sun Aug 01 18:14:36 2021 +0200
     1.2 +++ b/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt	Sun Aug 01 18:56:28 2021 +0200
     1.3 @@ -195,6 +195,7 @@
     1.4              )).sortedWith(DEFAULT_ISSUE_SORTER)
     1.5  
     1.6              with(http) {
     1.7 +                pageTitle = project.name
     1.8                  view = ProjectDetails(projectInfo, issues, version, component)
     1.9                  feedPath = feedPath(project)
    1.10                  navigationMenu = activeProjectNavMenu(
    1.11 @@ -263,6 +264,7 @@
    1.12          }
    1.13  
    1.14          with(http) {
    1.15 +            pageTitle = "${projectInfo.project.name} - ${i18n("navmenu.versions")}"
    1.16              view = VersionsView(
    1.17                  projectInfo,
    1.18                  dao.listVersionSummaries(projectInfo.project)
    1.19 @@ -346,6 +348,7 @@
    1.20          }
    1.21  
    1.22          with(http) {
    1.23 +            pageTitle = "${projectInfo.project.name} - ${i18n("navmenu.components")}"
    1.24              view = ComponentsView(
    1.25                  projectInfo,
    1.26                  dao.listComponentSummaries(projectInfo.project)
    1.27 @@ -436,6 +439,7 @@
    1.28              val comments = dao.listComments(issue)
    1.29  
    1.30              with(http) {
    1.31 +                pageTitle = "${projectInfo.project.name}: #${issue.id} ${issue.subject}"
    1.32                  view = IssueDetailView(issue, comments, project, version, component)
    1.33                  // TODO: feed path for this particular issue
    1.34                  feedPath = feedPath(projectInfo.project)

mercurial