Compare commits
2 Commits
029f6b6c7f
...
6ad7616f02
Author | SHA1 | Date |
---|---|---|
Gregory Trullemans | 6ad7616f02 | |
Gregory Trullemans | 1ad8bbad30 |
|
@ -11,10 +11,9 @@
|
|||
<h4 class=""><i class="icon-primary fal fa-laugh-wink"></i> Hi {{ user.username }} !</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
Welcome to Ultron v0.44 <span class="text-muted">(last update : 14-1-2022)</span><br />
|
||||
Welcome to Ultron v0.45 <span class="text-muted">(last update : 18-1-2022)</span><br />
|
||||
This application is there to help us manage the gymnasts (evolution, evaluation, routine, scores, ...). It is not perfect so feel free to make improvement proposals, bug reports, … by sending me an <a href="mailto:gregory@flyingacrobaticstrampoline.be">email</a>.<br/>
|
||||
<br/>
|
||||
<span class="text-danger"><b>Gelukkig nieuwjaar 2022 en mijn beste wensen!</b></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -75,7 +75,12 @@ def gymnast_details(request, gymnast_id, tab=None):
|
|||
nb_known_skill = (
|
||||
LearnedSkill.objects.filter(gymnast=gymnast_id).distinct("skill").count()
|
||||
)
|
||||
percentage_known_skill = (nb_known_skill / nb_skill) * 100
|
||||
|
||||
if nb_skill != 0:
|
||||
percentage_known_skill = (nb_known_skill / nb_skill) * 100
|
||||
else:
|
||||
percentage_known_skill = 0
|
||||
|
||||
chronos_list = Chrono.objects.filter(gymnast=gymnast_id).order_by("-date")[:10]
|
||||
straightjump_score = (
|
||||
Chrono.objects.filter(gymnast=gymnast_id)
|
||||
|
|
Loading…
Reference in New Issue