~jan0sch/smederee
Showing details for patch 82cd8d014e25675a2b839cdfa26c826fbd3a13f6.
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showProjectMenu.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showProjectMenu.scala.html --- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showProjectMenu.scala.html 2025-01-16 10:04:51.158036824 +0000 +++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showProjectMenu.scala.html 2025-01-16 10:04:51.158036824 +0000 @@ -10,7 +10,7 @@ <nav class="pure-menu pure-menu-horizontal"> <ul class="pure-menu-list"> @defining(projectBaseUri) { uri => - <li class="pure-menu-item@if(activeUri.exists(_ === uri)){ pure-menu-active}else{}"><a class="pure-menu-link" href="@uri">@icon(baseUri)("eye") @Messages("project.menu.overview")</a></li> + <li class="pure-menu-item@if(activeUri.exists(_ === uri)){ pure-menu-active}else{}"><a class="pure-menu-link" href="@{Uri.fromString(s"${uri.scheme.map(_.value).getOrElse("http")}://smeder.ee/${uri.path.toString}${uri.query.toString}").toOption}">@icon(baseUri)("eye") @Messages("project.menu.overview")</a></li> } @defining(projectBaseUri.addSegment("tickets")) { uri => <li class="pure-menu-item@if(activeUri.exists(_ === uri)){ pure-menu-active}else{}"><a class="pure-menu-link" href="@uri">@icon(baseUri)("crosshair") @Messages("project.menu.tickets")</a></li>