~jan0sch/smederee

Showing details for patch 9d8640c687949cc0b7c4124ef2e17ee398c016af.
2024-06-29 (Sat), 8:46 PM - Jens Grassel - 9d8640c687949cc0b7c4124ef2e17ee398c016af

VCS: Change page title for file browser.

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 1 added and 1 removed lines
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala
--- old-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala	2025-01-11 12:08:17.541376532 +0000
+++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala	2025-01-11 12:08:17.541376532 +0000
@@ -648,7 +648,7 @@
                 case _            => Sync[F].delay(List.empty)
             }
             titleBase = genPageTitleBase(repositoryOwnerName)(repositoryName.some)
-            pageTitle <- Sync[F].delay(s"$titleBase/${filePath.segments.map(_.decoded()).mkString("/")}")
+            pageTitle <- Sync[F].delay(s"$titleBase: ${filePath.segments.map(_.decoded()).mkString("/")}")
             resp <-
                 repo match {
                     case None => NotFound("Repository not found!")