Skip to content

Commit

Permalink
Fix highscores skill links (Thanks @Vyroq)
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Jul 12, 2024
1 parent cd49dfc commit da14e12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/templates/highscores.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<select onchange="location = this.value;" aria-label="skillFilter" id="skillFilter">
{% set i = 0 %}
{% for link, name in types %}
<option value="{{ getLink('highscores') }}/{{ link }}{% if vocation is defined %}/{{ vocation }}{% endif %}" class="size_xs">{{ name }}</option>
<option value="{{ getLink('highscores') }}/{{ link }}{% if vocation is not null %}{{ vocation }}{% endif %}" class="size_xs">{{ name }}</option>
{% endfor %}
</select>
</td>
Expand Down Expand Up @@ -105,7 +105,7 @@
<tr bgcolor="{{ config.lightborder }}">
<td>
{% for link, name in types %}
<a href="{{ getLink('highscores') }}/{{ link }}{% if vocation is defined %}/{{ vocation }}{% endif %}" class="size_xs">{{ name }}</a><br/>
<a href="{{ getLink('highscores') }}/{{ link }}{% if vocation is not null %}/{{ vocation }}{% endif %}" class="size_xs">{{ name }}</a><br/>
{% endfor %}
</td>
</tr>
Expand Down

0 comments on commit da14e12

Please sign in to comment.