Skip to content

Commit

Permalink
Merge pull request #126 from Arquisoft/game-view
Browse files Browse the repository at this point in the history
Fix nav game button, fix some missing messages
  • Loading branch information
uo287545 authored Mar 9, 2024
2 parents 337c8fa + 807b0c6 commit 1ea5f7e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ ranking.position=Posición
ranking.score=Puntuación
ranking.date=Fecha
ranking.player=Jugador
ranking.time=Tiempo
ranking.question.right=Respuestas correctas
ranking.question.wrong=Respuestas incorrectas
ranking.time=Tiempo

# -------------------Statements for the apiHome.html file---------------------
api.doc.title=Documentación de la API
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ ranking.position=Position
ranking.score=Score
ranking.date=Date
ranking.player=Player
ranking.question.right=Right answers
ranking.question.wrong=Wrong answers
ranking.time=Time

# -------------------Statements for the apiHome.html file---------------------
api.doc.title=API Documentation
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ ranking.position=Posición
ranking.score=Puntuación
ranking.date=Fecha
ranking.player=Jugador
ranking.question.right=Respuestas correctas
ranking.question.wrong=Respuestas incorrectas
ranking.time=Tiempo

# -------------------Statements for the apiHome.html file---------------------
api.doc.title=Documentación de la API
Expand Down
7 changes: 2 additions & 5 deletions src/main/resources/templates/fragments/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@
<span th:text="#{navbar.home}"></span>
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<span th:text="#{navbar.play}"></span>
</a>
<li class="nav-item">
<a class="nav-link" href="/game" th:text="#{navbar.play}"></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown2" role="button" data-toggle="dropdown"
Expand Down

0 comments on commit 1ea5f7e

Please sign in to comment.