No {{ state_filter }} issues found logic

This commit is contained in:
Klaas van Schelven
2024-09-25 14:30:28 +02:00
parent 6f86a16f12
commit bbe244c95d

View File

@@ -153,8 +153,15 @@
<td class="w-full ml-0 pb-4 pt-4 pr-4 text-center">
<div class="p-4 text-xl font-bold text-slate-800">
No issues found.
This might mean you have not yet <a class="text-cyan-500 font-bold" href="{% url "project_sdk_setup" project_pk=project.id %}">set up your SDK</a>.
{% if state_filter == "open" %} {# TODO open #}
{% if project.digested_event_count == 0 %}
This might mean you have not yet <a class="text-cyan-500 font-bold" href="{% url "project_sdk_setup" project_pk=project.id %}">set up your SDK</a>.
{% else %}
Congratulations! You have no open issues.
{% endif %}
{% else %}
No {{ state_filter }} issues found.
{% endif %}
</div>
</tr>
{% endfor %}