diff options
-rw-r--r-- | ctrack/register/admin.py | 7 | ||||
-rw-r--r-- | ctrack/templates/users/user_detail.html | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ctrack/register/admin.py b/ctrack/register/admin.py index 09cd6da..16e20b3 100644 --- a/ctrack/register/admin.py +++ b/ctrack/register/admin.py @@ -1,6 +1,6 @@ from django.contrib import admin -from ctrack.register.models import EngagementEvent +from ctrack.register.models import EngagementEvent, SingleDateTimeEvent from ctrack.register.models import EngagementType @@ -14,5 +14,10 @@ class EngagementEventTypeAdmin(admin.ModelAdmin): list_display = ("descriptor", "enforcement_instrument", "single_date_type", "regulation_reference") +class SingleDateTimeEventAdmin(admin.ModelAdmin): + model = SingleDateTimeEvent + + admin.site.register(EngagementEvent, EngagementEventAdmin) admin.site.register(EngagementType, EngagementEventTypeAdmin) +admin.site.register(SingleDateTimeEvent, SingleDateTimeEventAdmin) diff --git a/ctrack/templates/users/user_detail.html b/ctrack/templates/users/user_detail.html index 5b9386f..f4f466f 100644 --- a/ctrack/templates/users/user_detail.html +++ b/ctrack/templates/users/user_detail.html @@ -39,7 +39,7 @@ <table class="table table-bordered"> <thead> <tr> - <th>Event</th> + <th class="w-25">Event</th> <th>Comments</th> </tr> </thead> |