feat: add AirShelf core implementation
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import Notification
|
||||
|
||||
|
||||
admin.site.site_header = "AirShelf Ops"
|
||||
admin.site.site_title = "AirShelf Ops"
|
||||
admin.site.index_title = "Operations"
|
||||
|
||||
|
||||
@admin.register(Notification)
|
||||
class NotificationAdmin(admin.ModelAdmin):
|
||||
list_display = ("title", "team", "recipient", "notification_type", "priority", "is_read", "created_at")
|
||||
list_filter = ("notification_type", "priority", "is_read", "archived_at")
|
||||
search_fields = ("title", "brief", "body", "source", "dedupe_key")
|
||||
readonly_fields = ("created_at", "updated_at", "read_at", "archived_at")
|
||||
Reference in New Issue
Block a user