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
3 changed files with 12 additions and 5 deletions
Showing only changes of commit 6a8978a71f - Show all commits

View File

@ -227,3 +227,10 @@ button.going-star
.form-check-input
transform: scale(1.5) translateX(calc(var(--spacer) * -1))
// TODO: check and cleanup style definition in Web Assets
.table-no-box
tr
td
padding-left: var(--spacer) !important
padding-right: var(--spacer) !important

View File

@ -8,10 +8,10 @@ table.table-no-box
tbody
| {% for o in object_list %}
tr
td(style="width: 4ch; padding-right: 0")
span.text-muted {{ o.edition.year }}
td(style="width: 4ch;")
span.text-muted.text-nowrap {{ o.edition.year }}
td
a(href="{% url 'presentation_detail' edition_path=o.edition.path pk=o.pk %}")
a.px-0(href="{% url 'presentation_detail' edition_path=o.edition.path pk=o.pk %}")
| {{ o.name }}
td.text-right
span.badge.badge-primary(

View File

@ -12,14 +12,14 @@
<tr>
{% is_claimed_by ticket request.user as clamed %}
<td>
<a href="{{ detail_url }}">
<a class="px-0" href="{{ detail_url }}">
{{ ticket.edition }} ({{ ticket.sku }})
{% if clamed %}
(claimed by you)
{% endif %}
</a>
</td>
<td><a href="{{ detail_url }}">{% include "tickets/components/pill_payment_status.html" %}</a></td>
<td><a class="px-0" href="{{ detail_url }}">{% include "tickets/components/pill_payment_status.html" %}</a></td>
<td>{% include "tickets/ticket_detail_invoice.html" %}</td>
</tr>
{% endfor %}