UI: 2024 Hero component options #103971

Merged
Márton Lente merged 66 commits from ui/2024-hero-options into main 2024-09-24 13:00:31 +02:00
Showing only changes of commit dad8e3622e - Show all commits

View File

@ -3,22 +3,25 @@
| {% block content_main %}
h2 My Festival Submissions
| {% if object_list %}
table.table-no-box
tbody
| {% for o in object_list %}
tr
td(style="width: 4ch; padding-right: 0")
span.text-muted {{ o.edition.year }}
span.text-muted= o.edition.year
td
a(href="{% url 'festival_entry_detail' edition_path=o.edition.path pk=o.pk %}")
| {{ o.title }}
a(href=`${o.edition.path}/${o.pk}`)= o.title
td.text-right
span.badge.badge-secondary(
class="status-{{o.status }}"
)
| {% if o.status == 'rejected' %}NOT ACCEPTED{% else %}{{o.status | upper }}{% endif %}
| {% empty %}
| Your Suzanne Awards Festival entries will show up here.
span.badge.badge-secondary(class=`status-${o.status}`)
| {% if o.status == 'rejected' %}
| NOT ACCEPTED
| {% else %}
| = o.status.toUpperCase()
| {% endif %}
| {% endfor %}
| {% else %}
div Your Suzanne Awards Festival entries will show up here.
| {% endif %}
| {% endblock content_main %}