Skip to content
Snippets Groups Projects
Commit 93c4fb1d authored by Julian's avatar Julian
Browse files

Reorder personal note actions

parent c3cea378
No related branches found
No related tags found
1 merge request!111Resolve "[Person overview] Implement multiple selection for marking absences as excused or for deleting"
Pipeline #10831 passed
......@@ -183,9 +183,14 @@ class ExcuseTypeForm(forms.ModelForm):
class PersonOverviewForm(ActionForm):
def get_actions(self):
return [mark_as_excused, mark_as_unexcused, delete_personal_note] + [
mark_as_excuse_type_generator(excuse_type) for excuse_type in ExcuseType.objects.all()
]
return (
[mark_as_excused, mark_as_unexcused]
+ [
mark_as_excuse_type_generator(excuse_type)
for excuse_type in ExcuseType.objects.all()
]
+ [delete_personal_note]
)
class GroupRoleForm(forms.ModelForm):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment