Added case ID for easy identifying
This commit is contained in:
parent
3a866a913a
commit
fffd6db4cb
@ -9,4 +9,4 @@ admin.site.register(Heading)
|
||||
class DecisionAdmin(admin.ModelAdmin):
|
||||
fields = ['synopsis', 'headings', 'published', 'pdf']
|
||||
filter_horizontal = ['headings']
|
||||
list_display = ['synopsis', 'published']
|
||||
list_display = ['id', 'synopsis', 'published']
|
||||
|
@ -67,7 +67,7 @@
|
||||
<div class="card" style="overflow:hidden;">
|
||||
<div class="tc">
|
||||
<div class="card-header">
|
||||
<span class="text-muted">{{ case.published }}</span>
|
||||
<span class="text-muted">Case ID: {{ case.id }}<span class="float-right">{{ case.published }}</span></span>
|
||||
</div>
|
||||
<div class="card-body" style="position:relative; height:250px; overflow:hidden;">
|
||||
<span class="card-text text-secondary">{{ case.synopsis | linebreaks }}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user