Small improvements to EDE PDF prints

This commit is contained in:
Claude Paroz 2018-04-12 14:29:02 +02:00
parent 66cd4b7a8c
commit ebe02ec6a6
3 changed files with 7 additions and 5 deletions

View file

@ -149,7 +149,7 @@ class StudentAdmin(admin.ModelAdmin):
if obj.klass.section.name == 'EDE' and obj.klass.level.name == "3":
return format_html(
'<a class="button" href="{}">Courrier pour lexpert</a>&nbsp;'
'<a class="button" href="{}">Mail convocation soutenance</a>&nbsp;',
'<a class="button" href="{}">Mail convocation soutenance</a>&nbsp;'
'<a class="button" href="{}">Indemnité aux experts</a>',
reverse('print-pdf-to-expert-ede', args=[obj.pk]),
reverse('student-ede-convocation', args=[obj.pk]),