From 065489c7624d45372bf5b7dfef045505ee52bf15 Mon Sep 17 00:00:00 2001 From: elisa-av Date: Tue, 17 Sep 2024 19:29:46 -0300 Subject: [PATCH] feat(templates): Alerts tables are now responsive --- .../includes/search_alerts/table_header.html | 8 ++++---- .../includes/search_alerts/table_row.html | 10 +++++----- cl/users/templates/profile/alerts.html | 18 ++++++++++-------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/cl/alerts/templates/includes/search_alerts/table_header.html b/cl/alerts/templates/includes/search_alerts/table_header.html index 2a446df94e..842d9cf898 100644 --- a/cl/alerts/templates/includes/search_alerts/table_header.html +++ b/cl/alerts/templates/includes/search_alerts/table_header.html @@ -1,10 +1,10 @@ - Alert Type - Name and Query - Frequency + Name and Query + Alert Type + Frequency {% if is_profile_dashboard %} - Last Hit + Last Hit {% endif %} diff --git a/cl/alerts/templates/includes/search_alerts/table_row.html b/cl/alerts/templates/includes/search_alerts/table_row.html index 1db40a1cfb..4d6f1fd8f6 100644 --- a/cl/alerts/templates/includes/search_alerts/table_row.html +++ b/cl/alerts/templates/includes/search_alerts/table_row.html @@ -1,4 +1,9 @@ + +

+ {{ alert.name }} +

+

{% if alert.alert_type == SEARCH_TYPES.OPINION %} @@ -10,11 +15,6 @@ {% endif %}

- -

- {{ alert.name }} -

- {% if is_profile_dashboard %} {{ alert.date_last_hit|date:"M j, Y"|default:"Never" }} {% endif %} diff --git a/cl/users/templates/profile/alerts.html b/cl/users/templates/profile/alerts.html index cc8c39a7d7..58df0c63e1 100644 --- a/cl/users/templates/profile/alerts.html +++ b/cl/users/templates/profile/alerts.html @@ -13,6 +13,8 @@ {% endif %} + {% endblock %} @@ -40,7 +42,7 @@

You have not made any {% if page == "docket_alerts" %} REC

Search Alerts for Case Law and Oral Arguments

-