Skip to content

Commit

Permalink
changes all judgments button position
Browse files Browse the repository at this point in the history
  • Loading branch information
actlikewill committed Apr 25, 2024
1 parent 512482f commit c669442
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions peachjam/templates/peachjam/_court_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
{% for court_class in court_classes %}
<div class="flow-columns-group mb-4">
<h4 class="mb-2">{{ court_class }}</h4>
{% if court_class.show_listing_page %}
<div class="mb-3">
<a href="{% url 'court_class' court_class.slug %}">{% trans 'All judgments' %}</a>
</div>
{% endif %}
{% if court_class.courts.all %}
<ul class="list-unstyled">
{% for court in court_class.courts.all %}
Expand All @@ -12,10 +17,6 @@ <h4 class="mb-2">{{ court_class }}</h4>
</li>
{% endfor %}
</ul>
{% if court_class.show_listing_page %}
<a class="btn btn-sm btn-primary"
href="{% url 'court_class' court_class.slug %}">{% trans 'View all' %}</a>
{% endif %}
{% else %}
<div>{% trans 'No courts found.' %}</div>
{% endif %}
Expand Down

0 comments on commit c669442

Please sign in to comment.