Skip to content

Commit

Permalink
Merge pull request #802 from maykinmedia/feature/1790-mijn-aanvragen-…
Browse files Browse the repository at this point in the history
…list-empty

💄 [#1790] Alter empty my cases overview design
  • Loading branch information
alextreme authored Oct 23, 2023
2 parents 7f8de14 + f61a075 commit 8ce2957
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/open_inwoner/templates/pages/cases/list_inner.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
{% anchor_menu anchors desktop=True %}
</div>

<h2 class="h2" id="cases">{{ page_title }} ({{ paginator.count }})</h2>
<h2 class="h2" id="cases">{% trans "Mijn aanvragen" %}</h2>
{% render_grid %}
{% if not cases %}
<b>{% trans "U heeft op dit moment nog geen lopende aanvragen." %}</b>
{% endif %}

{% for case in cases %}
{% render_column start=forloop.counter_0|multiply:4 span=4 %}
<div class="card card--compact card--stretch">
Expand Down Expand Up @@ -34,5 +38,6 @@ <h2 class="h2" id="cases">{{ page_title }} ({{ paginator.count }})</h2>
{% endfor %}
{% endrender_grid %}

{% pagination page_obj=page_obj paginator=paginator request=request hxget=hxget hxtarget='#cases-content' %}

{% if cases %}
{% pagination page_obj=page_obj paginator=paginator request=request hxget=hxget hxtarget='#cases-content' %}
{% endif %}

0 comments on commit 8ce2957

Please sign in to comment.