Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
outkine committed Mar 31, 2024
1 parent 6625dcc commit 4a3fc6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/board/view.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ <h2 class="mt-4">Published Robots</h2>
<img src="@assetsFinder.path("images/launch.svg")" alt="">
view all robots
</a>
} else {
<p>None yet</p>
}

@if(board.board.publishingEnabled) {
Expand All @@ -51,9 +53,8 @@ <h2 class="mt-4">Published Robots</h2>
</div>
</div>

<h2 class="mt-5">Recent Battles</h2>
@if(board.battles.nonEmpty) {
<h2 class="mt-5">Recent Battles</h2>

<div class="_table">
<table class="_battles">
@battleRows(board.battles, assetsFinder)
Expand All @@ -66,7 +67,6 @@ <h2 class="mt-5">Recent Battles</h2>
</div>
</div>
} else {
<h2 class="mt-5">Recent Battles</h2>
None yet
<p>None yet</p>
}
}

0 comments on commit 4a3fc6d

Please sign in to comment.