UI: Conference website web-assets v2 upgrade #103970

Merged
Márton Lente merged 50 commits from ui/web-assets-v2-update into main 2024-09-23 12:34:43 +02:00
Showing only changes of commit 232d43f733 - Show all commits

View File

@ -19,44 +19,42 @@ meta(name='twitter:image', content='{{request.scheme}}://{{request.META.HTTP_HOS
.container.mt-3
.row
.col
.card.mb-3
.card-body
| {% if permissions.can_change %}
.event-detail-header
//- Status.
.row
.col-8
.d-flex
div
small.text-muted.d-block Submitted on
span(title="{{ object.created_at | date:'D d M, Y @ H:i' }}")
| {{ object.created_at | date:'l d M, Y' }}
.box.mb-3
| {% if permissions.can_change %}
//- Status.
.row
.col-8
.d-flex
div
small.text-muted.d-block Submitted on
span(title="{{ object.created_at | date:'D d M, Y @ H:i' }}")
| {{ object.created_at | date:'l d M, Y' }}
| {% if object.category %}
div.ml-4
small.text-muted.d-block Category
span
| {{ object.category | title }}
| {% if object.category %}
div.ml-4
small.text-muted.d-block Category
span
| {{ object.category | title }}
| {% endif %}
div.ml-4
small.text-muted.d-block Status
span.badge.badge-primary(class="status-{{ object.status }}")
| {% if object.status == 'rejected' %}NOT ACCEPTED{% else %}{{ object.status | upper }}{% endif %}
.col-4
.d-flex
.ml-auto
.btn-row
a.btn(
href="{% url 'festival_entry_update' edition_path=object.edition.path pk=object.pk %}")
i.i-edit
span Edit Submission
| {% if request.user.is_superuser %}
a.btn.btn-admin(
href="{% url 'admin:conference_main_festivalentry_change' object.pk %}")
| Admin
| {% endif %}
div.ml-4
small.text-muted.d-block Status
span.badge.badge-primary(class="status-{{ object.status }}")
| {% if object.status == 'rejected' %}NOT ACCEPTED{% else %}{{ object.status | upper }}{% endif %}
.col-4
.d-flex
.ml-auto
.btn-row
a.btn(
href="{% url 'festival_entry_update' edition_path=object.edition.path pk=object.pk %}")
i.i-edit
span Edit Submission
| {% if request.user.is_superuser %}
a.btn.btn-admin(
href="{% url 'admin:conference_main_festivalentry_change' object.pk %}")
| Admin
| {% endif %}
| {% endif %}
.p-4