Skip to content

Commit 140bcda

Browse files
committed
fix: small improvements to the home page
1 parent dfb7c0e commit 140bcda

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

templates/base.njk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
</li>
6868
{% endif %}
6969
</ul>
70+
{% if user.isStaff %}
71+
<a href="/admin/points/manual" class="btn btn-sm btn-outline-primary me-3">Assign points</a>
72+
{% endif %}
7073
<form role="search" method="GET" action="/profile/" id="user-search-form">
7174
<div class="form-group">
7275
<input class="form-control me-2" type="search" placeholder="Search user..." aria-label="User search query" id="user-search-input" required />

templates/home.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</div>
2424
<div class="big-coalition-content">
2525
<h5 class="coalition-name"><b>{{ coalitionsObject[coalitionId].intra_coalition.name | striptags(true) | escape }}</b></h5>
26-
<p class="coalition-description">{{ sortedCoalitionScore.score | thousands }} points</p>
26+
<p class="coalition-description">{{ sortedCoalitionScore.score | thousands }} average points</p>
2727
</div>
2828
</a>
2929
</li>

0 commit comments

Comments
 (0)