Skip to content

Commit 9ddad9c

Browse files
committed
fix: make coalition clickable in user header
1 parent 059f30f commit 9ddad9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/profile.njk

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</div>
1717
<div class="col-md-4 text-center text-md-end mt-4 mt-md-0">
1818
<ul class="list-unstyled">
19-
<li>Coalition: {{ profileUser.coalition_users[0].coalition.name | striptags(true) | escape }}</li>
19+
<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>
2020
<li>Total score: {{ totalScore | thousands }}</li>
2121
<li>{{ profileUser.coalition_users[0].coalition.name }} ranking: #{{ ranking }}</li>
2222
{% for userRanking in userRankings %}

0 commit comments

Comments
 (0)