Better pretty money. Closes #3
This commit is contained in:
parent
24017dafaf
commit
f02d1ab41c
3 changed files with 12 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{% load static i18n static %}
|
||||
{% load static i18n pretty_money static %}
|
||||
{% comment %}
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
{% endcomment %}
|
||||
|
|
@ -62,7 +62,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
{% if user.is_authenticated %}
|
||||
<li class="dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fa fa-user"></i> {{ user.username }}
|
||||
<i class="fa fa-user"></i> {{ user.username }} ({{ user.note.balance | pretty_money }})
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right"
|
||||
aria-labelledby="navbarDropdownMenuLink">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue