Add view to send PDF letter to EDE expert
This commit is contained in:
parent
84440ceb2a
commit
3b43477e17
7 changed files with 168 additions and 7 deletions
|
|
@ -148,7 +148,9 @@ class StudentAdmin(admin.ModelAdmin):
|
|||
def examination_actions(self, obj):
|
||||
if obj.klass.section.name == 'EDE' and obj.klass.level.name == "3":
|
||||
return format_html(
|
||||
'<a class="button" href="{}">Courrier pour l’expert</a> '
|
||||
'<a class="button" href="{}">Mail convocation soutenance</a>',
|
||||
reverse('print-pdf-to-expert-ede', args=[obj.pk]),
|
||||
reverse('student-ede-convocation', args=[obj.pk])
|
||||
)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue