Commit 1b4278d1 authored by jocelyn's avatar jocelyn

Améliore(ra) l'affichage des membres supprimés dans les prêts

parent aef91010
......@@ -132,6 +132,7 @@ class LoanHistoryInline(admin.TabularInline):
readonly_fields = ('user', 'item', 'short_date', 'short_date_end', 'notes')
ordering = ['-loan_date_end']
verbose_name_plural = "Historique de prêt de cet objet"
empty_value_display = '(membre effacé)' # Django >= 1.10-ready
show_change_link = True
classes = ['collapse'] # Django >= 1.10-ready
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment