From 6b09710bbb51cc98bcdbb8b35aa45fc07a58de5a Mon Sep 17 00:00:00 2001 From: philippus Date: Tue, 5 Nov 2024 17:11:08 +0100 Subject: [PATCH] Separate developers by | but don't leave a trailing | --- .../main/twirl/scaladex/view/project/artifact.scala.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/template/src/main/twirl/scaladex/view/project/artifact.scala.html b/modules/template/src/main/twirl/scaladex/view/project/artifact.scala.html index 6c6b8e98d..c9d55c177 100644 --- a/modules/template/src/main/twirl/scaladex/view/project/artifact.scala.html +++ b/modules/template/src/main/twirl/scaladex/view/project/artifact.scala.html @@ -110,11 +110,12 @@

Documentation

@if(artifact.developers.nonEmpty){ @info("Developers"){
- @for(developer <- artifact.developers) { + @for((developer, i) <- artifact.developers.zipWithIndex) { + @if(i != 0){ | } @developer.name - | + }
@@ -142,7 +143,7 @@

@Formats.plural(directDeps.size, "Dependency")

@dep.groupIdAndName - @if(dep.artifactDep.scope.value != "compile") { + @if(dep.artifactDep.scope.value != "compile") { @dep.artifactDep.scope }