1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-07-20 08:01:26 +02:00

Minor fixes

This commit is contained in:
Ehouarn
2025-07-19 16:55:07 +02:00
parent edb6abfff5
commit 9ab4df94e6
4 changed files with 10 additions and 30 deletions

View File

@ -57,7 +57,7 @@ class WEIRegistrationTable(tables.Table):
)
validate = tables.LinkColumn(
'wei:wei_update_registration',
'wei:validate_registration',
args=[A('pk')],
verbose_name=_("Validate"),
orderable=True,
@ -101,7 +101,7 @@ class WEIRegistrationTable(tables.Table):
if not hasperm:
return format_html("<span class='no-perm'></span>")
url = reverse_lazy('wei:wei_update_registration', args=(record.pk,)) + '?validate=true'
url = reverse_lazy('wei:wei_update_registration', args=(record.pk,))
text = _('Validate')
status = record.validation_status
if status == 2: