Skip to content

Commit

Permalink
fix difficulty star rating
Browse files Browse the repository at this point in the history
commjoen committed Aug 9, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
commjoen Jeroen Willemsen
1 parent 2f1ef30 commit 2a088f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/resources/templates/welcome.html
Original file line number Diff line number Diff line change
@@ -39,8 +39,10 @@
th:remove="tag"></span></a></td>
<td th:text="${challenge.tech}"></td>
<td class="d-none d-md-table-cell">
<th:block th:each="i: ${#numbers.sequence(1, challenge.difficulty)}"><span></span>
</th:block>
<th:span th:each="i: ${#numbers.sequence(1, challenge.difficulty)}"><span></span></th:span>
<th:span th:if="${challenge.difficulty<5}"
th:each="i: ${#numbers.sequence(challenge.difficulty+1, 5)}"><span></span>
</th:span>
</td>
<th:block th:if="${challenge.requiredEnv} == 'DOCKER'">
<td>Docker</td>

0 comments on commit 2a088f8

Please sign in to comment.