UI: Conference website web-assets v2 upgrade #103970
@ -40,36 +40,35 @@ meta(name='twitter:image', content='{{request.scheme}}://{{request.META.HTTP_HOS
|
||||
.col
|
||||
.box.mb-3.p-3
|
||||
| {% if permissions.can_change %}
|
||||
.event-detail-header
|
||||
.row
|
||||
.col-sm-6
|
||||
.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' }}
|
||||
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|replace:'_| ' }}{% endif %}
|
||||
.mb-3.row
|
||||
.col-sm-6
|
||||
.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' }}
|
||||
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|replace:'_| ' }}{% endif %}
|
||||
|
||||
.col-sm-6
|
||||
.d-flex
|
||||
.ml-auto
|
||||
.btn-row.justify-content-end
|
||||
a.btn(
|
||||
href="{% url 'presentation_update' edition_path=object.edition.path pk=object.pk %}")
|
||||
i.i-edit
|
||||
span Edit Presentation
|
||||
a.btn(
|
||||
href="{% url 'presentation_review' edition_path=object.edition.path pk=object.pk %}")
|
||||
i.i-comment
|
||||
span Review
|
||||
| {% if request.user.is_superuser %}
|
||||
a.btn.btn-admin(
|
||||
href="{% url 'admin:conference_main_event_change' object.pk %}")
|
||||
| Admin
|
||||
| {% endif %}
|
||||
.col-sm-6
|
||||
.d-flex
|
||||
.ml-auto
|
||||
.btn-row.justify-content-end
|
||||
a.btn(
|
||||
href="{% url 'presentation_update' edition_path=object.edition.path pk=object.pk %}")
|
||||
i.i-edit
|
||||
span Edit Presentation
|
||||
a.btn(
|
||||
href="{% url 'presentation_review' edition_path=object.edition.path pk=object.pk %}")
|
||||
i.i-comment
|
||||
span Review
|
||||
| {% if request.user.is_superuser %}
|
||||
a.btn.btn-admin(
|
||||
href="{% url 'admin:conference_main_event_change' object.pk %}")
|
||||
| Admin
|
||||
| {% endif %}
|
||||
| {% endif %}
|
||||
|
||||
| {% if object.recording %}
|
||||
|
Loading…
Reference in New Issue
Block a user