mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 20:37:59 +01:00
16 lines
557 B
Text
16 lines
557 B
Text
.block
|
|
.block__header.flex
|
|
span.block__header__title
|
|
i.fas.fa-file-lines>
|
|
' Description
|
|
= if can?(@conn, :edit_description, @image) do
|
|
.block__header__buttons
|
|
a.button#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
|
|
.block__content
|
|
p
|
|
= if String.length(@image.description) > 0 do
|
|
= @body
|
|
- else
|
|
em No description provided.
|