|
@@ -203,7 +203,7 @@ class ServiceAdmin(admin.ModelAdmin):
|
|
get_adherent_link.short_description = Adhesion.get_adherent_link.short_description
|
|
get_adherent_link.short_description = Adhesion.get_adherent_link.short_description
|
|
|
|
|
|
def get_contribution_link(self, obj):
|
|
def get_contribution_link(self, obj):
|
|
- return format_html(u'<a href="{}">{}</a>', obj.contribution.get_absolute_url(), obj.contribution)
|
|
|
|
|
|
+ return format_html(u'<a href="{}">{}</a>', obj.contribution.get_absolute_url(), obj.contribution.get_last_validated_update() or 'inconnue')
|
|
get_contribution_link.short_description = 'Contribution financière'
|
|
get_contribution_link.short_description = 'Contribution financière'
|
|
|
|
|
|
def get_actions(self, request):
|
|
def get_actions(self, request):
|