mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-07-20 08:01:26 +02:00
Minor fail
This commit is contained in:
@ -56,13 +56,10 @@ class WEIRegistrationTable(tables.Table):
|
||||
}
|
||||
)
|
||||
|
||||
validate = tables.LinkColumn(
|
||||
'wei:validate_registration',
|
||||
args=[A('pk')],
|
||||
validate = tables.Column(
|
||||
verbose_name=_("Validate"),
|
||||
orderable=True,
|
||||
accessor='validate_status',
|
||||
text=_("Validate"),
|
||||
attrs={
|
||||
'th': {
|
||||
'id': 'validate-membership-header'
|
||||
@ -101,7 +98,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,))
|
||||
url = reverse_lazy('wei:validate_registration', args=(record.pk,))
|
||||
text = _('Validate')
|
||||
status = record.validation_status
|
||||
if status == 2:
|
||||
|
Reference in New Issue
Block a user