Adding DIV to make sure that the image caption is always below the image
This commit is contained in:
parent
c69a4270e9
commit
0c439359b9
1 changed files with 8 additions and 7 deletions
|
|
@ -13,13 +13,14 @@
|
||||||
.text-center
|
.text-center
|
||||||
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
|
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
|
||||||
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
|
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
|
||||||
- if screenshot.description
|
div
|
||||||
.imgcaption =screenshot.description
|
- if screenshot.description
|
||||||
- if screenshot.version.present?
|
.imgcaption =screenshot.description
|
||||||
em.imgcaption
|
- if screenshot.version.present?
|
||||||
'(from version #{screenshot.version})
|
em.imgcaption
|
||||||
- if user_signed_in?
|
'(from version #{screenshot.version})
|
||||||
em.imgcaption =screenshot.adminstatus
|
- if user_signed_in?
|
||||||
|
em.imgcaption Admin status: #{screenshot.adminstatus}
|
||||||
|
|
||||||
// Is the user an admin?
|
// Is the user an admin?
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue