UI: Conference website web-assets v2 upgrade #103970
@ -34,32 +34,17 @@
|
|||||||
content: ''
|
content: ''
|
||||||
|
|
||||||
details
|
details
|
||||||
+padding(2, y)
|
@extend .box
|
||||||
transition: background-color var(--transition-speed)
|
|
||||||
|
|
||||||
details:not([open])
|
+padding(3)
|
||||||
background-color: rgba(white, .33)
|
|
||||||
box-shadow: none
|
|
||||||
|
|
||||||
&:hover
|
|
||||||
background-color: rgba(white, .66)
|
|
||||||
|
|
||||||
.is-collapsed
|
|
||||||
opacity: 1
|
|
||||||
|
|
||||||
.is-collapsed
|
|
||||||
opacity: .5
|
|
||||||
transition: opacity var(--transition-speed)
|
|
||||||
|
|
||||||
summary
|
summary
|
||||||
padding-right: 0
|
|
||||||
+fw-normal
|
|
||||||
color: var(--text-color-secondary)
|
color: var(--text-color-secondary)
|
||||||
|
+fw-normal
|
||||||
|
padding-right: 0
|
||||||
|
|
||||||
.date
|
.date
|
||||||
font-size: var(--fs-sm)
|
@extend .text-muted
|
||||||
+margin(1, top)
|
|
||||||
opacity: .5
|
|
||||||
|
|
||||||
.event-date a
|
.event-date a
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
|
@ -26,27 +26,29 @@ section
|
|||||||
data-target="#message-{{ message.message.id }}",
|
data-target="#message-{{ message.message.id }}",
|
||||||
id="message-{{ message.message.id }}")
|
id="message-{{ message.message.id }}")
|
||||||
|
|
||||||
span(style="opacity: .4").mr-2 {{ forloop.counter }}.
|
span.me-2.text-muted {{ forloop.counter }}.
|
||||||
span {{ message.message.user.profile }}
|
span {{ message.message.user.profile }}
|
||||||
span.message-preview-content {{ message.message.content|truncatechars:80 }}
|
span.message-preview-content {{ message.message.content|truncatechars:80 }}
|
||||||
|
|
||||||
span.ml-auto
|
span.ml-auto
|
||||||
|
|
||||||
| {% if message.message.user.is_staff %}
|
| {% if message.message.user.is_staff %}
|
||||||
span.badge.badge-admin.mr-2(title="BCON staff")
|
span.badge.badge-admin.me-2(title="BCON staff")
|
||||||
i.i-bcon
|
i.i-bcon
|
||||||
span Staff
|
span Staff
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if message.message.user.id == object.user.id %}
|
| {% if message.message.user.id == object.user.id %}
|
||||||
span.badge.badge-info.mr-2(title="Proposal Author")
|
span.badge.badge-info.me-2(title="Proposal Author")
|
||||||
i.i-mic
|
i.i-mic
|
||||||
span Proposal Author
|
span Proposal Author
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if request.user.is_superuser %}
|
| {% if request.user.is_superuser %}
|
||||||
a.px-3(href="{% url 'admin:conference_main_message_change' message.pk %}")
|
a.px-3(href="{% url 'admin:conference_main_message_change' message.pk %}")
|
||||||
small Edit
|
small
|
||||||
|
span.me-1 Edit
|
||||||
|
i.i-edit
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
a.date(
|
a.date(
|
||||||
|
Loading…
Reference in New Issue
Block a user