mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +01:00
Added some helpful columns to the follow-up list page.
This commit is contained in:
parent
fde06d3ab1
commit
55a69efcf9
@ -40,6 +40,12 @@ class AttachmentInline(admin.StackedInline):
|
|||||||
@admin.register(FollowUp)
|
@admin.register(FollowUp)
|
||||||
class FollowUpAdmin(admin.ModelAdmin):
|
class FollowUpAdmin(admin.ModelAdmin):
|
||||||
inlines = [TicketChangeInline, AttachmentInline]
|
inlines = [TicketChangeInline, AttachmentInline]
|
||||||
|
list_display = ('ticket_get_ticket_for_url', 'title', 'date', 'ticket', 'user', 'new_status')
|
||||||
|
list_filter = ('user', 'date', 'new_status')
|
||||||
|
|
||||||
|
def ticket_get_ticket_for_url(self, obj):
|
||||||
|
return obj.ticket.ticket_for_url
|
||||||
|
ticket_get_ticket_for_url.short_description = _('Slug')
|
||||||
|
|
||||||
|
|
||||||
@admin.register(KBItem)
|
@admin.register(KBItem)
|
||||||
|
Loading…
Reference in New Issue
Block a user