diff --git a/src/main/twirl/repo/commit.scala.html b/src/main/twirl/repo/commit.scala.html index 0986090..2ab694f 100644 --- a/src/main/twirl/repo/commit.scala.html +++ b/src/main/twirl/repo/commit.scala.html @@ -17,18 +17,22 @@
@commit.description.get
}
- - - @branches.zipWithIndex.map { case (branch, i) => - @branch - } - - - - @tags.zipWithIndex.map { case (tag, i) => - @tag - } - + @if(branches.nonEmpty){ + + + @branches.zipWithIndex.map { case (branch, i) => + @branch + } + + } + @if(tags.nonEmpty){ + + + @tags.zipWithIndex.map { case (tag, i) => + @tag + } + + }