Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(templates): Include additional information in Docket Alarms and Docket Notes #4447

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.short_name }}
</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
Loading