mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-26 06:32:26 +00:00
update code after rebase
This commit is contained in:
parent
6f374dfffd
commit
65a8a1e0c7
3 changed files with 7 additions and 7 deletions
|
@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
<h4> on met un {{ key_dict }} de {{ key }}</h4>
|
||||
<tr>
|
||||
<th>{{ key_dict }}</th>
|
||||
<th>Nombre de {{ key }} par {{ key_dict }}</th>
|
||||
<th> Number of {{ key }} per {{ key_dict }}</th>
|
||||
<th>Rang</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
@ -25,10 +25,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
{% load bootstrap3 %}
|
||||
|
||||
{% block title %}Chambres innocupées{% endblock %}
|
||||
{% block title %}Unoccupied rooms{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Chambres innocupées</h2>
|
||||
<h2> Unoccupied rooms </h2>
|
||||
{% include "logs/aff_stats_rooms.html" with stats_list=stats_list %}
|
||||
<br />
|
||||
<br />
|
||||
|
|
|
@ -529,11 +529,11 @@ def stats_unoccupied_rooms(request):
|
|||
"""Vue qui affiche les chambres inoccupées
|
||||
pour des fins de contrôle des cotisations"""
|
||||
stats = {
|
||||
'Nombre de chambres Innocupées': {
|
||||
'Action': Room.objects.filter(adherent__isnull=True).count()
|
||||
_("Unoccupied rooms count"): {
|
||||
_("Action"): Room.objects.filter(adherent__isnull=True).count()
|
||||
},
|
||||
'Chambres Innocupées': {
|
||||
'Action': Room.objects.filter(
|
||||
_("Unoccupied rooms"): {
|
||||
_("Action"): Room.objects.filter(
|
||||
adherent__isnull=True
|
||||
).order_by('-num')[:40],
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue