UI: Conference website web-assets v2 upgrade #103970
@ -19,44 +19,42 @@ meta(name='twitter:image', content='{{request.scheme}}://{{request.META.HTTP_HOS
|
|||||||
.container.mt-3
|
.container.mt-3
|
||||||
.row
|
.row
|
||||||
.col
|
.col
|
||||||
.card.mb-3
|
.box.mb-3
|
||||||
.card-body
|
| {% if permissions.can_change %}
|
||||||
| {% if permissions.can_change %}
|
//- Status.
|
||||||
.event-detail-header
|
.row
|
||||||
//- Status.
|
.col-8
|
||||||
.row
|
.d-flex
|
||||||
.col-8
|
div
|
||||||
.d-flex
|
small.text-muted.d-block Submitted on
|
||||||
div
|
span(title="{{ object.created_at | date:'D d M, Y @ H:i' }}")
|
||||||
small.text-muted.d-block Submitted on
|
| {{ object.created_at | date:'l d M, Y' }}
|
||||||
span(title="{{ object.created_at | date:'D d M, Y @ H:i' }}")
|
|
||||||
| {{ object.created_at | date:'l d M, Y' }}
|
|
||||||
|
|
||||||
| {% if object.category %}
|
| {% if object.category %}
|
||||||
div.ml-4
|
div.ml-4
|
||||||
small.text-muted.d-block Category
|
small.text-muted.d-block Category
|
||||||
span
|
span
|
||||||
| {{ object.category | title }}
|
| {{ 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 %}
|
| {% 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 %}
|
| {% endif %}
|
||||||
|
|
||||||
.p-4
|
.p-4
|
||||||
|
Loading…
Reference in New Issue
Block a user