Added case ID for easy identifying

This commit is contained in:
Zakary Timson 2018-01-22 22:27:06 -05:00
parent 3a866a913a
commit fffd6db4cb
2 changed files with 2 additions and 2 deletions

View File

@ -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']

View File

@ -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>