~jan0sch/smederee

Showing details for patch 57241252406b11f953b14e33959230b05f5eb017.
2023-05-27 (Sat), 8:44 PM - Jens Grassel - 57241252406b11f953b14e33959230b05f5eb017

Tickets: cross link properly to hub for main navigation.

Summary of changes
8 files modified with 8 lines added and 8 lines removed
  • modules/hub/src/main/twirl/de/smederee/tickets/views/createTicket.scala.html with 1 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editLabel.scala.html with 1 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editLabels.scala.html with 1 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestone.scala.html with 1 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestones.scala.html with 1 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editTicket.scala.html with 1 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showTicket.scala.html with 1 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html with 1 added and 1 removed lines
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/createTicket.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/createTicket.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/createTicket.scala.html	2025-01-16 08:12:24.279846462 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/createTicket.scala.html	2025-01-16 08:12:24.283846469 +0000
@@ -36,7 +36,7 @@
     });
   </script>
 }
-@main(baseUri, lang)(customFooters = footer)(csrf, title, user) {
+@main(linkToHubService, lang)(customFooters = footer)(csrf, title, user) {
 @defining(lang.toLocale) { implicit locale =>
 <div class="content">
   <div class="pure-g">
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editLabel.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editLabel.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editLabel.scala.html	2025-01-16 08:12:24.279846462 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editLabel.scala.html	2025-01-16 08:12:24.283846469 +0000
@@ -19,7 +19,7 @@
 )(formData: Map[String, Chain[String]] = Map.empty.withDefaultValue(Chain.empty),
   formErrors: FormErrors = FormErrors.empty
 )
-@main(baseUri, lang)()(csrf, title, user.some) {
+@main(linkToHubService, lang)()(csrf, title, user.some) {
 @defining(lang.toLocale) { implicit locale =>
 <div class="content">
   <div class="pure-g">
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editLabels.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editLabels.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editLabels.scala.html	2025-01-16 08:12:24.279846462 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editLabels.scala.html	2025-01-16 08:12:24.283846469 +0000
@@ -19,7 +19,7 @@
 )(formData: Map[String, Chain[String]] = Map.empty.withDefaultValue(Chain.empty),
   formErrors: FormErrors = FormErrors.empty
 )
-@main(baseUri, lang)()(csrf, title, user) {
+@main(linkToHubService, lang)()(csrf, title, user) {
 @defining(lang.toLocale) { implicit locale =>
 <div class="content">
   <div class="pure-g">
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestone.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestone.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestone.scala.html	2025-01-16 08:12:24.279846462 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestone.scala.html	2025-01-16 08:12:24.283846469 +0000
@@ -19,7 +19,7 @@
 )(formData: Map[String, Chain[String]] = Map.empty.withDefaultValue(Chain.empty),
   formErrors: FormErrors = FormErrors.empty
 )
-@main(baseUri, lang)()(csrf, title, user.some) {
+@main(linkToHubService, lang)()(csrf, title, user.some) {
 @defining(lang.toLocale) { implicit locale =>
 <div class="content">
   <div class="pure-g">
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestones.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestones.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestones.scala.html	2025-01-16 08:12:24.283846469 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestones.scala.html	2025-01-16 08:12:24.283846469 +0000
@@ -21,7 +21,7 @@
 )(formData: Map[String, Chain[String]] = Map.empty.withDefaultValue(Chain.empty),
   formErrors: FormErrors = FormErrors.empty
 )
-@main(baseUri, lang)()(csrf, title, user) {
+@main(linkToHubService, lang)()(csrf, title, user) {
 @defining(lang.toLocale) { implicit locale =>
 <div class="content">
   <div class="pure-g">
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editTicket.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editTicket.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editTicket.scala.html	2025-01-16 08:12:24.283846469 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/editTicket.scala.html	2025-01-16 08:12:24.283846469 +0000
@@ -37,7 +37,7 @@
     });
   </script>
 }
-@main(baseUri, lang)(customFooters = footer)(csrf, title, user) {
+@main(linkToHubService, lang)(customFooters = footer)(csrf, title, user) {
 @defining(lang.toLocale) { implicit locale =>
 <div class="content">
   <div class="pure-g">
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showTicket.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showTicket.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showTicket.scala.html	2025-01-16 08:12:24.283846469 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showTicket.scala.html	2025-01-16 08:12:24.283846469 +0000
@@ -16,7 +16,7 @@
   user: Option[Account],
   project: Project
 )
-@main(baseUri, lang)()(csrf, title, user) {
+@main(linkToHubService, lang)()(csrf, title, user) {
 @defining(lang.toLocale) { implicit locale =>
 <div class="content">
   <div class="pure-g">
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html	2025-01-16 08:12:24.283846469 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html	2025-01-16 08:12:24.283846469 +0000
@@ -13,7 +13,7 @@
   user: Option[Account],
   project: Project
 )
-@main(baseUri, lang)()(csrf, title, user) {
+@main(linkToHubService, lang)()(csrf, title, user) {
 @defining(lang.toLocale) { implicit locale =>
 <div class="content">
   <div class="pure-g">