diff --git a/.env.example b/.env.example index 7d111c1b3f..25cd8994a9 100644 --- a/.env.example +++ b/.env.example @@ -42,3 +42,6 @@ IA_ACCESS_KEY="" IA_SECRET_KEY="" FTM_KEY="" + +# CL API key for cloning data +CL_API_KEY="" diff --git a/cl/api/urls.py b/cl/api/urls.py index cf600790d9..e407d4b94a 100644 --- a/cl/api/urls.py +++ b/cl/api/urls.py @@ -96,6 +96,9 @@ r"docket-tags", favorite_views.DocketTagViewSet, basename="DocketTag" ) +# Prayers +router.register(r"prayers", favorite_views.PrayerViewSet, basename="prayer") + # Visualizations router.register( r"visualizations/json", viz_views.JSONViewSet, basename="jsonversion" diff --git a/cl/assets/static-global/css/override.css b/cl/assets/static-global/css/override.css index 7a27e9f08f..3693518187 100644 --- a/cl/assets/static-global/css/override.css +++ b/cl/assets/static-global/css/override.css @@ -1723,3 +1723,11 @@ rect.series-segment { opacity 150ms 150ms ease-in; transform: translate3d(0, 0, 0); } + +.prayer-button[data-gap-size="small"] { + margin-left: 8px; +} + +.prayer-button[data-gap-size="large"]{ + margin-left: 44px; +} diff --git a/cl/assets/templates/base.html b/cl/assets/templates/base.html index 33181f52e1..be91672e34 100644 --- a/cl/assets/templates/base.html +++ b/cl/assets/templates/base.html @@ -231,17 +231,22 @@
Document Number | PACER Doc ID | Document Court | +Buy on Pacer | @@ -31,6 +34,15 @@{{ prayer.document_number }} | {{ prayer.pacer_doc_id }} | {{ prayer.docket_entry.docket.court_id }} | +Buy on PACER {% if prayer.page_count %}(${{ prayer|price }}){% endif %} | {% empty %}
---|