2023-06-01 19:42:30 +02:00
|
|
|
.block
|
2023-06-02 19:37:03 +02:00
|
|
|
.block__header.flex
|
2023-06-01 19:42:30 +02:00
|
|
|
span.block__header__title
|
|
|
|
i.fas.fa-file-lines>
|
|
|
|
' Description
|
2023-06-02 19:37:03 +02:00
|
|
|
= if can?(@conn, :edit_description, @image) do
|
|
|
|
.block__header__buttons
|
|
|
|
a.button.button--inline#edit-description href="#" data-click-focus="#description" data-click-hide=".image-description" data-click-show="#description-form" title="Edit description" accessKey="d"
|
|
|
|
i.fas.fa-edit>
|
|
|
|
' Edit
|
2023-06-01 19:42:30 +02:00
|
|
|
.block__content
|
|
|
|
p
|
|
|
|
= if String.length(@body) > 0 do
|
|
|
|
== @body
|
|
|
|
- else
|
|
|
|
em No description provided.
|