Skip to content

Commit

Permalink
Merge pull request #4447 from elisa-a-v/main
Browse files Browse the repository at this point in the history
feat(templates): Include additional information in Docket Alarms and Docket Notes
  • Loading branch information
mlissner authored Oct 22, 2024
2 parents b29def5 + 05bab9e commit 182657e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
6 changes: 6 additions & 0 deletions cl/users/templates/includes/notes-row.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
<td id="date_last_filing-{{ note_form.instance.id }}" data-text="{{ note_form.instance.docket_id.date_last_filing|date:"Ymd" }}">
{{ note_form.instance.docket_id.date_last_filing|date:"M j, Y"|default:"(none)"|nbsp }}
</td>
<td id="docket-number-{{ note_form.instance.id }}">
{{ note_form.instance.docket_id.docket_number }}
</td>
<td id="court-{{ note_form.instance.id }}">
{{ note_form.instance.docket_id.court.citation_string }}
</td>
{% endif %}
<td id="notes-{{ note_form.instance.id }}">
{{ note_form.instance.notes|default:"(none)" }}
Expand Down
15 changes: 12 additions & 3 deletions cl/users/templates/profile/alerts.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ <h3 class="gray caps">🎉 Being a member provides you unlimited docket alerts</
<tr>
<th><a class="no-underline black-link" href="?{% url_replace request 'name' %}">Case Name{% sort_caret request 'name' %}</a></th>
<th><a class="no-underline black-link" href="?{% url_replace request 'court' %}">Court{% sort_caret request 'court' %}</a></th>
<th><a class="no-underline black-link" href="?{% url_replace request 'docket_number' %}">Docket Number{% sort_caret request 'docket_number' %}</a></th>
<th><a class="no-underline black-link" href="?{% url_replace request 'date_filed' %}">Date Filed{% sort_caret request 'date_filed' %}</a></th>
<th colspan="2"><a class="no-underline black-link" href="?{% url_replace request 'hit' %}"> Last&nbsp;Hit{% sort_caret request 'hit' %}</a></th>
</tr>
</thead>
Expand All @@ -80,9 +82,6 @@ <h3 class="gray caps">🎉 Being a member provides you unlimited docket alerts</
<p class="bottom">
<a href="{{ alert.docket.get_absolute_url }}">
{{ alert.docket|best_case_name|safe|v_wrapper }}
{% if docket.docket_number %}
({{ docket.docket_number }})
{% endif %}
</a>
</p>
</td>
Expand All @@ -91,6 +90,16 @@ <h3 class="gray caps">🎉 Being a member provides you unlimited docket alerts</
{{ alert.docket.court.short_name }}
</p>
</td>
<td>
<p class="bottom">
{{ alert.docket.docket_number }}
</p>
</td>
<td>
<p class="bottom">
{{ alert.docket.date_filed }}
</p>
</td>
<td>{{ alert.date_last_hit|default:"Never" }}</td>
<td class="right">
<a href="{% url "toggle_docket_alert" %}"
Expand Down
2 changes: 2 additions & 0 deletions cl/users/templates/profile/notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
<th>Name</th>
{% if type == "Dockets" %}
<th>Last&nbsp;Filing</th>
<th class="sorter-false">Docket Number</th>
<th class="sorter-false">Court</th>
{% endif %}
<th class="sorter-false">Notes</th>
<th class="sorter-false">
Expand Down

0 comments on commit 182657e

Please sign in to comment.