mirror of https://gitlab.crans.org/bde/nk20
Highlight non-validated activities
This commit is contained in:
parent
48eb0749e0
commit
56c41258b9
|
@ -20,6 +20,11 @@ class ActivityTable(tables.Table):
|
||||||
attrs = {
|
attrs = {
|
||||||
'class': 'table table-condensed table-striped table-hover'
|
'class': 'table table-condensed table-striped table-hover'
|
||||||
}
|
}
|
||||||
|
row_attrs = {
|
||||||
|
'class': lambda record: 'bg-success' if record.open else ('' if record.valid else 'bg-warning'),
|
||||||
|
'title': lambda record: _("The activity is currently open.") if record.open else
|
||||||
|
('' if record.valid else _("The validation of the activity is pending.")),
|
||||||
|
}
|
||||||
model = Activity
|
model = Activity
|
||||||
template_name = 'django_tables2/bootstrap4.html'
|
template_name = 'django_tables2/bootstrap4.html'
|
||||||
fields = ('name', 'activity_type', 'organizer', 'attendees_club', 'date_start', 'date_end', )
|
fields = ('name', 'activity_type', 'organizer', 'attendees_club', 'date_start', 'date_end', )
|
||||||
|
@ -33,17 +38,12 @@ class GuestTable(tables.Table):
|
||||||
|
|
||||||
entry = tables.Column(
|
entry = tables.Column(
|
||||||
empty_values=(),
|
empty_values=(),
|
||||||
attrs={
|
verbose_name=_("Remove"),
|
||||||
"td": {
|
|
||||||
"class": lambda record: "" if record.has_entry else "validate btn btn-danger",
|
|
||||||
"onclick": lambda record: "" if record.has_entry else "remove_guest(" + str(record.pk) + ")"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
attrs = {
|
attrs = {
|
||||||
'class': 'table table-condensed table-striped table-hover'
|
'class': 'table table-condensed table-striped'
|
||||||
}
|
}
|
||||||
model = Guest
|
model = Guest
|
||||||
template_name = 'django_tables2/bootstrap4.html'
|
template_name = 'django_tables2/bootstrap4.html'
|
||||||
|
@ -52,7 +52,8 @@ class GuestTable(tables.Table):
|
||||||
def render_entry(self, record):
|
def render_entry(self, record):
|
||||||
if record.has_entry:
|
if record.has_entry:
|
||||||
return str(_("Entered on ") + str(_("{:%Y-%m-%d %H:%M:%S}").format(record.entry.time, )))
|
return str(_("Entered on ") + str(_("{:%Y-%m-%d %H:%M:%S}").format(record.entry.time, )))
|
||||||
return _("remove").capitalize()
|
return format_html('<button id="{id}" class="btn btn-danger btn-sm" onclick="remove_guest(this.id)"> '
|
||||||
|
'{delete_trans}</button>'.format(id=record.id, delete_trans=_("remove").capitalize()))
|
||||||
|
|
||||||
|
|
||||||
def get_row_class(record):
|
def get_row_class(record):
|
||||||
|
|
|
@ -2487,6 +2487,22 @@
|
||||||
"description": "Modifier la date de fin d'une activité non validée dont on est l'auteur"
|
"description": "Modifier la date de fin d'une activité non validée dont on est l'auteur"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"model": "permission.permission",
|
||||||
|
"pk": 160,
|
||||||
|
"fields": {
|
||||||
|
"model": [
|
||||||
|
"activity",
|
||||||
|
"guest"
|
||||||
|
],
|
||||||
|
"query": "{\"inviter\": [\"user\", \"note\"], \"entry\": null}",
|
||||||
|
"type": "delete",
|
||||||
|
"mask": 1,
|
||||||
|
"field": "",
|
||||||
|
"permanent": false,
|
||||||
|
"description": "Supprimer ses propres invitations non validées à une activité"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"model": "permission.role",
|
"model": "permission.role",
|
||||||
"pk": 1,
|
"pk": 1,
|
||||||
|
@ -2553,7 +2569,8 @@
|
||||||
156,
|
156,
|
||||||
157,
|
157,
|
||||||
158,
|
158,
|
||||||
159
|
159,
|
||||||
|
160
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-08-30 16:07+0200\n"
|
"POT-Creation-Date: 2020-08-30 23:24+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -23,27 +23,27 @@ msgstr ""
|
||||||
msgid "activity"
|
msgid "activity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/forms.py:28 apps/activity/models.py:127
|
#: apps/activity/forms.py:22 apps/activity/models.py:127
|
||||||
msgid "The end date must be after the start date."
|
msgid "The end date must be after the start date."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/forms.py:69 apps/activity/models.py:254
|
#: apps/activity/forms.py:63 apps/activity/models.py:254
|
||||||
msgid "You can't invite someone once the activity is started."
|
msgid "You can't invite someone once the activity is started."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/forms.py:72 apps/activity/models.py:257
|
#: apps/activity/forms.py:66 apps/activity/models.py:257
|
||||||
msgid "This activity is not validated yet."
|
msgid "This activity is not validated yet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/forms.py:82 apps/activity/models.py:265
|
#: apps/activity/forms.py:76 apps/activity/models.py:265
|
||||||
msgid "This person has been already invited 5 times this year."
|
msgid "This person has been already invited 5 times this year."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/forms.py:86 apps/activity/models.py:269
|
#: apps/activity/forms.py:80 apps/activity/models.py:269
|
||||||
msgid "This person is already invited."
|
msgid "This person is already invited."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/forms.py:90 apps/activity/models.py:273
|
#: apps/activity/forms.py:84 apps/activity/models.py:273
|
||||||
msgid "You can't invite more than 3 people to this activity."
|
msgid "You can't invite more than 3 people to this activity."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -170,7 +170,7 @@ msgstr ""
|
||||||
msgid "Already entered on "
|
msgid "Already entered on "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/models.py:187 apps/activity/tables.py:54
|
#: apps/activity/models.py:187 apps/activity/tables.py:59
|
||||||
msgid "{:%Y-%m-%d %H:%M:%S}"
|
msgid "{:%Y-%m-%d %H:%M:%S}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -205,36 +205,44 @@ msgstr ""
|
||||||
msgid "Invitation"
|
msgid "Invitation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/tables.py:54
|
#: apps/activity/tables.py:25
|
||||||
|
msgid "The activity is currently open."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: apps/activity/tables.py:26
|
||||||
|
msgid "The validation of the activity is pending."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: apps/activity/tables.py:59
|
||||||
msgid "Entered on "
|
msgid "Entered on "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/tables.py:55
|
#: apps/activity/tables.py:60
|
||||||
msgid "remove"
|
msgid "remove"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/tables.py:79 apps/note/forms.py:66 apps/treasury/models.py:186
|
#: apps/activity/tables.py:84 apps/note/forms.py:66 apps/treasury/models.py:186
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/tables.py:81 apps/member/forms.py:131
|
#: apps/activity/tables.py:86 apps/member/forms.py:131
|
||||||
#: apps/registration/forms.py:81 apps/treasury/forms.py:135
|
#: apps/registration/forms.py:81 apps/treasury/forms.py:135
|
||||||
#: apps/wei/forms/registration.py:96
|
#: apps/wei/forms/registration.py:96
|
||||||
msgid "Last name"
|
msgid "Last name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/tables.py:83 apps/member/forms.py:136
|
#: apps/activity/tables.py:88 apps/member/forms.py:136
|
||||||
#: apps/note/templates/note/transaction_form.html:135
|
#: apps/note/templates/note/transaction_form.html:135
|
||||||
#: apps/registration/forms.py:86 apps/treasury/forms.py:137
|
#: apps/registration/forms.py:86 apps/treasury/forms.py:137
|
||||||
#: apps/wei/forms/registration.py:101
|
#: apps/wei/forms/registration.py:101
|
||||||
msgid "First name"
|
msgid "First name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/tables.py:85 apps/note/models/notes.py:69
|
#: apps/activity/tables.py:90 apps/note/models/notes.py:69
|
||||||
msgid "Note"
|
msgid "Note"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/tables.py:87 apps/member/tables.py:46
|
#: apps/activity/tables.py:92 apps/member/tables.py:46
|
||||||
msgid "Balance"
|
msgid "Balance"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -323,7 +331,7 @@ msgid "validate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/activity/templates/activity/includes/activity_info.html:71
|
#: apps/activity/templates/activity/includes/activity_info.html:71
|
||||||
#: apps/logs/models.py:62 apps/note/tables.py:165
|
#: apps/logs/models.py:62 apps/note/tables.py:173
|
||||||
msgid "edit"
|
msgid "edit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -399,7 +407,7 @@ msgstr ""
|
||||||
msgid "create"
|
msgid "create"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/logs/models.py:63 apps/note/tables.py:137 apps/note/tables.py:171
|
#: apps/logs/models.py:63 apps/note/tables.py:137 apps/note/tables.py:179
|
||||||
#: apps/permission/models.py:127 apps/treasury/tables.py:38
|
#: apps/permission/models.py:127 apps/treasury/tables.py:38
|
||||||
#: apps/wei/tables.py:75
|
#: apps/wei/tables.py:75
|
||||||
msgid "delete"
|
msgid "delete"
|
||||||
|
@ -749,7 +757,7 @@ msgstr ""
|
||||||
msgid "The role {role} does not apply to the club {club}."
|
msgid "The role {role} does not apply to the club {club}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/models.py:385 apps/member/views.py:637
|
#: apps/member/models.py:385 apps/member/views.py:652
|
||||||
msgid "User is already a member of the club"
|
msgid "User is already a member of the club"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -811,13 +819,13 @@ msgid "Add member"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/templates/member/club_alias.html:10
|
#: apps/member/templates/member/club_alias.html:10
|
||||||
#: apps/member/templates/member/profile_alias.html:10 apps/member/views.py:213
|
#: apps/member/templates/member/profile_alias.html:10 apps/member/views.py:216
|
||||||
#: apps/member/views.py:417
|
#: apps/member/views.py:426
|
||||||
msgid "Note aliases"
|
msgid "Note aliases"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/templates/member/club_alias.html:18
|
#: apps/member/templates/member/club_alias.html:20
|
||||||
#: apps/member/templates/member/profile_alias.html:18
|
#: apps/member/templates/member/profile_alias.html:19
|
||||||
#: apps/treasury/tables.py:99
|
#: apps/treasury/tables.py:99
|
||||||
msgid "Add"
|
msgid "Add"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -899,7 +907,7 @@ msgid "Change password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/templates/member/includes/profile_info.html:50
|
#: apps/member/templates/member/includes/profile_info.html:50
|
||||||
#: apps/member/views.py:285
|
#: apps/member/views.py:294
|
||||||
msgid "Manage auth token"
|
msgid "Manage auth token"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -951,55 +959,55 @@ msgstr ""
|
||||||
msgid "Search user"
|
msgid "Search user"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:227
|
#: apps/member/views.py:236
|
||||||
msgid "Update note picture"
|
msgid "Update note picture"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:313
|
#: apps/member/views.py:322
|
||||||
msgid "Create new club"
|
msgid "Create new club"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:331
|
#: apps/member/views.py:340
|
||||||
msgid "Search club"
|
msgid "Search club"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:364
|
#: apps/member/views.py:373
|
||||||
msgid "Club detail"
|
msgid "Club detail"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:434
|
#: apps/member/views.py:449
|
||||||
msgid "Update club"
|
msgid "Update club"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:468
|
#: apps/member/views.py:483
|
||||||
msgid "Add new member to the club"
|
msgid "Add new member to the club"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:628 apps/wei/views.py:922
|
#: apps/member/views.py:643 apps/wei/views.py:922
|
||||||
msgid ""
|
msgid ""
|
||||||
"This user don't have enough money to join this club, and can't have a "
|
"This user don't have enough money to join this club, and can't have a "
|
||||||
"negative balance."
|
"negative balance."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:641
|
#: apps/member/views.py:656
|
||||||
msgid "The membership must start after {:%m-%d-%Y}."
|
msgid "The membership must start after {:%m-%d-%Y}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:646
|
#: apps/member/views.py:661
|
||||||
msgid "The membership must begin before {:%m-%d-%Y}."
|
msgid "The membership must begin before {:%m-%d-%Y}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:662 apps/member/views.py:664 apps/member/views.py:666
|
#: apps/member/views.py:677 apps/member/views.py:679 apps/member/views.py:681
|
||||||
#: apps/registration/views.py:292 apps/registration/views.py:294
|
#: apps/registration/views.py:292 apps/registration/views.py:294
|
||||||
#: apps/registration/views.py:296 apps/wei/views.py:927 apps/wei/views.py:931
|
#: apps/registration/views.py:296 apps/wei/views.py:927 apps/wei/views.py:931
|
||||||
msgid "This field is required."
|
msgid "This field is required."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:750
|
#: apps/member/views.py:765
|
||||||
msgid "Manage roles of an user in the club"
|
msgid "Manage roles of an user in the club"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:775
|
#: apps/member/views.py:790
|
||||||
msgid "Members of the club"
|
msgid "Members of the club"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1282,7 +1290,7 @@ msgstr ""
|
||||||
msgid "No reason specified"
|
msgid "No reason specified"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/note/tables.py:139 apps/note/tables.py:173 apps/treasury/tables.py:39
|
#: apps/note/tables.py:147 apps/note/tables.py:181 apps/treasury/tables.py:39
|
||||||
#: apps/treasury/templates/treasury/invoice_confirm_delete.html:28
|
#: apps/treasury/templates/treasury/invoice_confirm_delete.html:28
|
||||||
#: apps/treasury/templates/treasury/sogecredit_detail.html:60
|
#: apps/treasury/templates/treasury/sogecredit_detail.html:60
|
||||||
#: apps/wei/tables.py:76 apps/wei/tables.py:103
|
#: apps/wei/tables.py:76 apps/wei/tables.py:103
|
||||||
|
@ -1290,7 +1298,7 @@ msgstr ""
|
||||||
msgid "Delete"
|
msgid "Delete"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/note/tables.py:167 apps/note/templates/note/conso_form.html:132
|
#: apps/note/tables.py:175 apps/note/templates/note/conso_form.html:132
|
||||||
#: apps/wei/tables.py:47 apps/wei/tables.py:48
|
#: apps/wei/tables.py:47 apps/wei/tables.py:48
|
||||||
#: apps/wei/templates/wei/base.html:90
|
#: apps/wei/templates/wei/base.html:90
|
||||||
#: apps/wei/templates/wei/bus_detail.html:17
|
#: apps/wei/templates/wei/bus_detail.html:17
|
||||||
|
@ -1524,7 +1532,7 @@ msgid ""
|
||||||
"of model {app_label}.{model_name}."
|
"of model {app_label}.{model_name}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/permission/signals.py:73 apps/permission/views.py:83
|
#: apps/permission/signals.py:73 apps/permission/views.py:88
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You don't have the permission to add an instance of model {app_label}."
|
"You don't have the permission to add an instance of model {app_label}."
|
||||||
|
@ -1570,25 +1578,25 @@ msgstr ""
|
||||||
msgid "No associated permission"
|
msgid "No associated permission"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/permission/views.py:54
|
#: apps/permission/views.py:55
|
||||||
#, python-brace-format
|
|
||||||
msgid ""
|
|
||||||
"You don't have the permission to create an instance of the model \"{model}\" "
|
|
||||||
"with these parameters. Please correct your data and retry."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: apps/permission/views.py:95
|
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You don't have the permission to update this instance of the model "
|
"You don't have the permission to update this instance of the model "
|
||||||
"\"{model}\" with these parameters. Please correct your data and retry."
|
"\"{model}\" with these parameters. Please correct your data and retry."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/permission/views.py:103 note_kfet/templates/base.html:106
|
#: apps/permission/views.py:59
|
||||||
|
#, python-brace-format
|
||||||
|
msgid ""
|
||||||
|
"You don't have the permission to create an instance of the model \"{model}\" "
|
||||||
|
"with these parameters. Please correct your data and retry."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: apps/permission/views.py:95 note_kfet/templates/base.html:106
|
||||||
msgid "Rights"
|
msgid "Rights"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/permission/views.py:108
|
#: apps/permission/views.py:100
|
||||||
msgid "All rights"
|
msgid "All rights"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-08-30 16:07+0200\n"
|
"POT-Creation-Date: 2020-08-30 23:24+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -23,28 +23,28 @@ msgstr ""
|
||||||
msgid "activity"
|
msgid "activity"
|
||||||
msgstr "activité"
|
msgstr "activité"
|
||||||
|
|
||||||
#: apps/activity/forms.py:28 apps/activity/models.py:127
|
#: apps/activity/forms.py:22 apps/activity/models.py:127
|
||||||
msgid "The end date must be after the start date."
|
msgid "The end date must be after the start date."
|
||||||
msgstr "La date de fin doit être après celle de début."
|
msgstr "La date de fin doit être après celle de début."
|
||||||
|
|
||||||
#: apps/activity/forms.py:69 apps/activity/models.py:254
|
#: apps/activity/forms.py:63 apps/activity/models.py:254
|
||||||
msgid "You can't invite someone once the activity is started."
|
msgid "You can't invite someone once the activity is started."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Vous ne pouvez pas inviter quelqu'un une fois que l'activité a démarré."
|
"Vous ne pouvez pas inviter quelqu'un une fois que l'activité a démarré."
|
||||||
|
|
||||||
#: apps/activity/forms.py:72 apps/activity/models.py:257
|
#: apps/activity/forms.py:66 apps/activity/models.py:257
|
||||||
msgid "This activity is not validated yet."
|
msgid "This activity is not validated yet."
|
||||||
msgstr "Cette activité n'est pas encore validée."
|
msgstr "Cette activité n'est pas encore validée."
|
||||||
|
|
||||||
#: apps/activity/forms.py:82 apps/activity/models.py:265
|
#: apps/activity/forms.py:76 apps/activity/models.py:265
|
||||||
msgid "This person has been already invited 5 times this year."
|
msgid "This person has been already invited 5 times this year."
|
||||||
msgstr "Cette personne a déjà été invitée 5 fois cette année."
|
msgstr "Cette personne a déjà été invitée 5 fois cette année."
|
||||||
|
|
||||||
#: apps/activity/forms.py:86 apps/activity/models.py:269
|
#: apps/activity/forms.py:80 apps/activity/models.py:269
|
||||||
msgid "This person is already invited."
|
msgid "This person is already invited."
|
||||||
msgstr "Cette personne est déjà invitée."
|
msgstr "Cette personne est déjà invitée."
|
||||||
|
|
||||||
#: apps/activity/forms.py:90 apps/activity/models.py:273
|
#: apps/activity/forms.py:84 apps/activity/models.py:273
|
||||||
msgid "You can't invite more than 3 people to this activity."
|
msgid "You can't invite more than 3 people to this activity."
|
||||||
msgstr "Vous ne pouvez pas inviter plus de 3 personnes à cette activité."
|
msgstr "Vous ne pouvez pas inviter plus de 3 personnes à cette activité."
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ msgstr "entrées"
|
||||||
msgid "Already entered on "
|
msgid "Already entered on "
|
||||||
msgstr "Déjà rentré le "
|
msgstr "Déjà rentré le "
|
||||||
|
|
||||||
#: apps/activity/models.py:187 apps/activity/tables.py:54
|
#: apps/activity/models.py:187 apps/activity/tables.py:59
|
||||||
msgid "{:%Y-%m-%d %H:%M:%S}"
|
msgid "{:%Y-%m-%d %H:%M:%S}"
|
||||||
msgstr "{:%d/%m/%Y %H:%M:%S}"
|
msgstr "{:%d/%m/%Y %H:%M:%S}"
|
||||||
|
|
||||||
|
@ -206,36 +206,44 @@ msgstr "invités"
|
||||||
msgid "Invitation"
|
msgid "Invitation"
|
||||||
msgstr "Invitation"
|
msgstr "Invitation"
|
||||||
|
|
||||||
#: apps/activity/tables.py:54
|
#: apps/activity/tables.py:25
|
||||||
|
msgid "The activity is currently open."
|
||||||
|
msgstr "Cette activité est actuellement ouverte."
|
||||||
|
|
||||||
|
#: apps/activity/tables.py:26
|
||||||
|
msgid "The validation of the activity is pending."
|
||||||
|
msgstr "La validation de cette activité est en attente."
|
||||||
|
|
||||||
|
#: apps/activity/tables.py:59
|
||||||
msgid "Entered on "
|
msgid "Entered on "
|
||||||
msgstr "Entré le "
|
msgstr "Entré le "
|
||||||
|
|
||||||
#: apps/activity/tables.py:55
|
#: apps/activity/tables.py:60
|
||||||
msgid "remove"
|
msgid "remove"
|
||||||
msgstr "supprimer"
|
msgstr "supprimer"
|
||||||
|
|
||||||
#: apps/activity/tables.py:79 apps/note/forms.py:66 apps/treasury/models.py:186
|
#: apps/activity/tables.py:84 apps/note/forms.py:66 apps/treasury/models.py:186
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr "Type"
|
msgstr "Type"
|
||||||
|
|
||||||
#: apps/activity/tables.py:81 apps/member/forms.py:131
|
#: apps/activity/tables.py:86 apps/member/forms.py:131
|
||||||
#: apps/registration/forms.py:81 apps/treasury/forms.py:135
|
#: apps/registration/forms.py:81 apps/treasury/forms.py:135
|
||||||
#: apps/wei/forms/registration.py:96
|
#: apps/wei/forms/registration.py:96
|
||||||
msgid "Last name"
|
msgid "Last name"
|
||||||
msgstr "Nom de famille"
|
msgstr "Nom de famille"
|
||||||
|
|
||||||
#: apps/activity/tables.py:83 apps/member/forms.py:136
|
#: apps/activity/tables.py:88 apps/member/forms.py:136
|
||||||
#: apps/note/templates/note/transaction_form.html:135
|
#: apps/note/templates/note/transaction_form.html:135
|
||||||
#: apps/registration/forms.py:86 apps/treasury/forms.py:137
|
#: apps/registration/forms.py:86 apps/treasury/forms.py:137
|
||||||
#: apps/wei/forms/registration.py:101
|
#: apps/wei/forms/registration.py:101
|
||||||
msgid "First name"
|
msgid "First name"
|
||||||
msgstr "Prénom"
|
msgstr "Prénom"
|
||||||
|
|
||||||
#: apps/activity/tables.py:85 apps/note/models/notes.py:69
|
#: apps/activity/tables.py:90 apps/note/models/notes.py:69
|
||||||
msgid "Note"
|
msgid "Note"
|
||||||
msgstr "Note"
|
msgstr "Note"
|
||||||
|
|
||||||
#: apps/activity/tables.py:87 apps/member/tables.py:46
|
#: apps/activity/tables.py:92 apps/member/tables.py:46
|
||||||
msgid "Balance"
|
msgid "Balance"
|
||||||
msgstr "Solde du compte"
|
msgstr "Solde du compte"
|
||||||
|
|
||||||
|
@ -324,7 +332,7 @@ msgid "validate"
|
||||||
msgstr "valider"
|
msgstr "valider"
|
||||||
|
|
||||||
#: apps/activity/templates/activity/includes/activity_info.html:71
|
#: apps/activity/templates/activity/includes/activity_info.html:71
|
||||||
#: apps/logs/models.py:62 apps/note/tables.py:165
|
#: apps/logs/models.py:62 apps/note/tables.py:173
|
||||||
msgid "edit"
|
msgid "edit"
|
||||||
msgstr "Modifier"
|
msgstr "Modifier"
|
||||||
|
|
||||||
|
@ -402,7 +410,7 @@ msgstr "Nouvelles données"
|
||||||
msgid "create"
|
msgid "create"
|
||||||
msgstr "Créer"
|
msgstr "Créer"
|
||||||
|
|
||||||
#: apps/logs/models.py:63 apps/note/tables.py:137 apps/note/tables.py:171
|
#: apps/logs/models.py:63 apps/note/tables.py:137 apps/note/tables.py:179
|
||||||
#: apps/permission/models.py:127 apps/treasury/tables.py:38
|
#: apps/permission/models.py:127 apps/treasury/tables.py:38
|
||||||
#: apps/wei/tables.py:75
|
#: apps/wei/tables.py:75
|
||||||
msgid "delete"
|
msgid "delete"
|
||||||
|
@ -761,7 +769,7 @@ msgstr "l'adhésion finit le"
|
||||||
msgid "The role {role} does not apply to the club {club}."
|
msgid "The role {role} does not apply to the club {club}."
|
||||||
msgstr "Le rôle {role} ne s'applique pas au club {club}."
|
msgstr "Le rôle {role} ne s'applique pas au club {club}."
|
||||||
|
|
||||||
#: apps/member/models.py:385 apps/member/views.py:637
|
#: apps/member/models.py:385 apps/member/views.py:652
|
||||||
msgid "User is already a member of the club"
|
msgid "User is already a member of the club"
|
||||||
msgstr "L'utilisateur est déjà membre du club"
|
msgstr "L'utilisateur est déjà membre du club"
|
||||||
|
|
||||||
|
@ -828,13 +836,13 @@ msgid "Add member"
|
||||||
msgstr "Ajouter un membre"
|
msgstr "Ajouter un membre"
|
||||||
|
|
||||||
#: apps/member/templates/member/club_alias.html:10
|
#: apps/member/templates/member/club_alias.html:10
|
||||||
#: apps/member/templates/member/profile_alias.html:10 apps/member/views.py:213
|
#: apps/member/templates/member/profile_alias.html:10 apps/member/views.py:216
|
||||||
#: apps/member/views.py:417
|
#: apps/member/views.py:426
|
||||||
msgid "Note aliases"
|
msgid "Note aliases"
|
||||||
msgstr "Alias de la note"
|
msgstr "Alias de la note"
|
||||||
|
|
||||||
#: apps/member/templates/member/club_alias.html:18
|
#: apps/member/templates/member/club_alias.html:20
|
||||||
#: apps/member/templates/member/profile_alias.html:18
|
#: apps/member/templates/member/profile_alias.html:19
|
||||||
#: apps/treasury/tables.py:99
|
#: apps/treasury/tables.py:99
|
||||||
msgid "Add"
|
msgid "Add"
|
||||||
msgstr "Ajouter"
|
msgstr "Ajouter"
|
||||||
|
@ -916,7 +924,7 @@ msgid "Change password"
|
||||||
msgstr "Changer le mot de passe"
|
msgstr "Changer le mot de passe"
|
||||||
|
|
||||||
#: apps/member/templates/member/includes/profile_info.html:50
|
#: apps/member/templates/member/includes/profile_info.html:50
|
||||||
#: apps/member/views.py:285
|
#: apps/member/views.py:294
|
||||||
msgid "Manage auth token"
|
msgid "Manage auth token"
|
||||||
msgstr "Gérer les jetons d'authentification"
|
msgstr "Gérer les jetons d'authentification"
|
||||||
|
|
||||||
|
@ -968,31 +976,31 @@ msgstr "Détails de l'utilisateur"
|
||||||
msgid "Search user"
|
msgid "Search user"
|
||||||
msgstr "Chercher un utilisateur"
|
msgstr "Chercher un utilisateur"
|
||||||
|
|
||||||
#: apps/member/views.py:227
|
#: apps/member/views.py:236
|
||||||
msgid "Update note picture"
|
msgid "Update note picture"
|
||||||
msgstr "Modifier la photo de la note"
|
msgstr "Modifier la photo de la note"
|
||||||
|
|
||||||
#: apps/member/views.py:313
|
#: apps/member/views.py:322
|
||||||
msgid "Create new club"
|
msgid "Create new club"
|
||||||
msgstr "Créer un nouveau club"
|
msgstr "Créer un nouveau club"
|
||||||
|
|
||||||
#: apps/member/views.py:331
|
#: apps/member/views.py:340
|
||||||
msgid "Search club"
|
msgid "Search club"
|
||||||
msgstr "Chercher un club"
|
msgstr "Chercher un club"
|
||||||
|
|
||||||
#: apps/member/views.py:364
|
#: apps/member/views.py:373
|
||||||
msgid "Club detail"
|
msgid "Club detail"
|
||||||
msgstr "Détails du club"
|
msgstr "Détails du club"
|
||||||
|
|
||||||
#: apps/member/views.py:434
|
#: apps/member/views.py:449
|
||||||
msgid "Update club"
|
msgid "Update club"
|
||||||
msgstr "Modifier le club"
|
msgstr "Modifier le club"
|
||||||
|
|
||||||
#: apps/member/views.py:468
|
#: apps/member/views.py:483
|
||||||
msgid "Add new member to the club"
|
msgid "Add new member to the club"
|
||||||
msgstr "Ajouter un nouveau membre au club"
|
msgstr "Ajouter un nouveau membre au club"
|
||||||
|
|
||||||
#: apps/member/views.py:628 apps/wei/views.py:922
|
#: apps/member/views.py:643 apps/wei/views.py:922
|
||||||
msgid ""
|
msgid ""
|
||||||
"This user don't have enough money to join this club, and can't have a "
|
"This user don't have enough money to join this club, and can't have a "
|
||||||
"negative balance."
|
"negative balance."
|
||||||
|
@ -1000,25 +1008,25 @@ msgstr ""
|
||||||
"Cet utilisateur n'a pas assez d'argent pour rejoindre ce club et ne peut pas "
|
"Cet utilisateur n'a pas assez d'argent pour rejoindre ce club et ne peut pas "
|
||||||
"avoir un solde négatif."
|
"avoir un solde négatif."
|
||||||
|
|
||||||
#: apps/member/views.py:641
|
#: apps/member/views.py:656
|
||||||
msgid "The membership must start after {:%m-%d-%Y}."
|
msgid "The membership must start after {:%m-%d-%Y}."
|
||||||
msgstr "L'adhésion doit commencer après le {:%d/%m/%Y}."
|
msgstr "L'adhésion doit commencer après le {:%d/%m/%Y}."
|
||||||
|
|
||||||
#: apps/member/views.py:646
|
#: apps/member/views.py:661
|
||||||
msgid "The membership must begin before {:%m-%d-%Y}."
|
msgid "The membership must begin before {:%m-%d-%Y}."
|
||||||
msgstr "L'adhésion doit commencer avant le {:%d/%m/%Y}."
|
msgstr "L'adhésion doit commencer avant le {:%d/%m/%Y}."
|
||||||
|
|
||||||
#: apps/member/views.py:662 apps/member/views.py:664 apps/member/views.py:666
|
#: apps/member/views.py:677 apps/member/views.py:679 apps/member/views.py:681
|
||||||
#: apps/registration/views.py:292 apps/registration/views.py:294
|
#: apps/registration/views.py:292 apps/registration/views.py:294
|
||||||
#: apps/registration/views.py:296 apps/wei/views.py:927 apps/wei/views.py:931
|
#: apps/registration/views.py:296 apps/wei/views.py:927 apps/wei/views.py:931
|
||||||
msgid "This field is required."
|
msgid "This field is required."
|
||||||
msgstr "Ce champ est requis."
|
msgstr "Ce champ est requis."
|
||||||
|
|
||||||
#: apps/member/views.py:750
|
#: apps/member/views.py:765
|
||||||
msgid "Manage roles of an user in the club"
|
msgid "Manage roles of an user in the club"
|
||||||
msgstr "Gérer les rôles d'un utilisateur dans le club"
|
msgstr "Gérer les rôles d'un utilisateur dans le club"
|
||||||
|
|
||||||
#: apps/member/views.py:775
|
#: apps/member/views.py:790
|
||||||
msgid "Members of the club"
|
msgid "Members of the club"
|
||||||
msgstr "Membres du club"
|
msgstr "Membres du club"
|
||||||
|
|
||||||
|
@ -1313,7 +1321,7 @@ msgstr "Cliquez pour valider"
|
||||||
msgid "No reason specified"
|
msgid "No reason specified"
|
||||||
msgstr "Pas de motif spécifié"
|
msgstr "Pas de motif spécifié"
|
||||||
|
|
||||||
#: apps/note/tables.py:139 apps/note/tables.py:173 apps/treasury/tables.py:39
|
#: apps/note/tables.py:147 apps/note/tables.py:181 apps/treasury/tables.py:39
|
||||||
#: apps/treasury/templates/treasury/invoice_confirm_delete.html:28
|
#: apps/treasury/templates/treasury/invoice_confirm_delete.html:28
|
||||||
#: apps/treasury/templates/treasury/sogecredit_detail.html:60
|
#: apps/treasury/templates/treasury/sogecredit_detail.html:60
|
||||||
#: apps/wei/tables.py:76 apps/wei/tables.py:103
|
#: apps/wei/tables.py:76 apps/wei/tables.py:103
|
||||||
|
@ -1321,7 +1329,7 @@ msgstr "Pas de motif spécifié"
|
||||||
msgid "Delete"
|
msgid "Delete"
|
||||||
msgstr "Supprimer"
|
msgstr "Supprimer"
|
||||||
|
|
||||||
#: apps/note/tables.py:167 apps/note/templates/note/conso_form.html:132
|
#: apps/note/tables.py:175 apps/note/templates/note/conso_form.html:132
|
||||||
#: apps/wei/tables.py:47 apps/wei/tables.py:48
|
#: apps/wei/tables.py:47 apps/wei/tables.py:48
|
||||||
#: apps/wei/templates/wei/base.html:90
|
#: apps/wei/templates/wei/base.html:90
|
||||||
#: apps/wei/templates/wei/bus_detail.html:17
|
#: apps/wei/templates/wei/bus_detail.html:17
|
||||||
|
@ -1561,7 +1569,7 @@ msgstr ""
|
||||||
"Vous n'avez pas la permission de modifier le champ {field} sur l'instance du "
|
"Vous n'avez pas la permission de modifier le champ {field} sur l'instance du "
|
||||||
"modèle {app_label}.{model_name}."
|
"modèle {app_label}.{model_name}."
|
||||||
|
|
||||||
#: apps/permission/signals.py:73 apps/permission/views.py:83
|
#: apps/permission/signals.py:73 apps/permission/views.py:88
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You don't have the permission to add an instance of model {app_label}."
|
"You don't have the permission to add an instance of model {app_label}."
|
||||||
|
@ -1611,16 +1619,7 @@ msgstr "Requête :"
|
||||||
msgid "No associated permission"
|
msgid "No associated permission"
|
||||||
msgstr "Pas de permission associée"
|
msgstr "Pas de permission associée"
|
||||||
|
|
||||||
#: apps/permission/views.py:54
|
#: apps/permission/views.py:55
|
||||||
#, python-brace-format
|
|
||||||
msgid ""
|
|
||||||
"You don't have the permission to create an instance of the model \"{model}\" "
|
|
||||||
"with these parameters. Please correct your data and retry."
|
|
||||||
msgstr ""
|
|
||||||
"Vous n'avez pas la permission d'ajouter une instance du modèle « {model} » "
|
|
||||||
"avec ces paramètres. Merci de les corriger et de réessayer."
|
|
||||||
|
|
||||||
#: apps/permission/views.py:95
|
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You don't have the permission to update this instance of the model "
|
"You don't have the permission to update this instance of the model "
|
||||||
|
@ -1629,11 +1628,20 @@ msgstr ""
|
||||||
"Vous n'avez pas la permission de modifier cette instance du modèle « {model} "
|
"Vous n'avez pas la permission de modifier cette instance du modèle « {model} "
|
||||||
"» avec ces paramètres. Merci de les corriger et de réessayer."
|
"» avec ces paramètres. Merci de les corriger et de réessayer."
|
||||||
|
|
||||||
#: apps/permission/views.py:103 note_kfet/templates/base.html:106
|
#: apps/permission/views.py:59
|
||||||
|
#, python-brace-format
|
||||||
|
msgid ""
|
||||||
|
"You don't have the permission to create an instance of the model \"{model}\" "
|
||||||
|
"with these parameters. Please correct your data and retry."
|
||||||
|
msgstr ""
|
||||||
|
"Vous n'avez pas la permission d'ajouter une instance du modèle « {model} » "
|
||||||
|
"avec ces paramètres. Merci de les corriger et de réessayer."
|
||||||
|
|
||||||
|
#: apps/permission/views.py:95 note_kfet/templates/base.html:106
|
||||||
msgid "Rights"
|
msgid "Rights"
|
||||||
msgstr "Droits"
|
msgstr "Droits"
|
||||||
|
|
||||||
#: apps/permission/views.py:108
|
#: apps/permission/views.py:100
|
||||||
msgid "All rights"
|
msgid "All rights"
|
||||||
msgstr "Tous les droits"
|
msgstr "Tous les droits"
|
||||||
|
|
||||||
|
@ -2004,7 +2012,7 @@ msgstr "Voir"
|
||||||
|
|
||||||
#: apps/treasury/tables.py:107
|
#: apps/treasury/tables.py:107
|
||||||
msgid "Remove"
|
msgid "Remove"
|
||||||
msgstr "supprimer"
|
msgstr "Supprimer"
|
||||||
|
|
||||||
#: apps/treasury/tables.py:146
|
#: apps/treasury/tables.py:146
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
|
|
Loading…
Reference in New Issue