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

💄 [#1790] Alter empty my cases overview design #802

Merged
merged 1 commit into from
Oct 23, 2023
Merged
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
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 @@ -33,5 +37,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 %}