~jan0sch/smederee
Showing details for patch 1c916e6552ae43e32e499f06257df4c72b31e893.
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala --- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala 2025-01-11 12:00:05.660453844 +0000 +++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala 2025-01-11 12:00:05.660453844 +0000 @@ -210,6 +210,12 @@ ) ) ) + ticketStati = filter + .map(_.status) + .filter(_.nonEmpty) + .map(stati => s" (${stati.mkString(", ")})") + .getOrElse("") + title = s"Smederee/~$projectOwnerName/$projectName - Tickets" |+| ticketStati resp <- Ok( views.html.showTickets(lang = language)( projectBaseUri.addSegment("tickets"), @@ -218,7 +224,7 @@ tickets, filter, projectBaseUri, - "Manage your project tickets.".some, + title.some, user, project )