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 .form-check-input
transform: scale(1.5) translateX(calc(var(--spacer) * -1)) 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 tbody
| {% for o in object_list %} | {% for o in object_list %}
tr tr
td(style="width: 4ch; padding-right: 0") td(style="width: 4ch;")
span.text-muted {{ o.edition.year }} span.text-muted.text-nowrap {{ o.edition.year }}
td 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 }} | {{ o.name }}
td.text-right td.text-right
span.badge.badge-primary( span.badge.badge-primary(

View File

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