Skip to content

Commit

Permalink
fix: make coalition clickable in user header
Browse files Browse the repository at this point in the history
  • Loading branch information
FreekBes committed Jan 15, 2025
1 parent 059f30f commit 9ddad9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/profile.njk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>
<div class="col-md-4 text-center text-md-end mt-4 mt-md-0">
<ul class="list-unstyled">
<li>Coalition: {{ profileUser.coalition_users[0].coalition.name | striptags(true) | escape }}</li>
<li>Coalition: <a href="/coalitions/{{ profileUser.coalition_users[0].coalition.id }}" style="color: {{ profileUser.coalition_users[0].coalition.color }};">{{ profileUser.coalition_users[0].coalition.name | striptags(true) | escape }}</a></li>
<li>Total score: {{ totalScore | thousands }}</li>
<li>{{ profileUser.coalition_users[0].coalition.name }} ranking: #{{ ranking }}</li>
{% for userRanking in userRankings %}
Expand Down

0 comments on commit 9ddad9c

Please sign in to comment.