~jan0sch/smederee

Showing details for patch 82cd8d014e25675a2b839cdfa26c826fbd3a13f6.
2023-05-22 (Mon), 1:12 PM - Jens Grassel - 82cd8d014e25675a2b839cdfa26c826fbd3a13f6

Tickets: Hard code link to hub overview page for now.

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showProjectMenu.scala.html with 1 added and 1 removed lines
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>