Properly formatting image caption
This commit is contained in:
parent
4fb322a25d
commit
2b9b87c486
1 changed files with 8 additions and 8 deletions
|
|
@ -13,14 +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)
|
||||||
div
|
- if screenshot.description
|
||||||
- if screenshot.description
|
.imgcaption =screenshot.description
|
||||||
.imgcaption =screenshot.description
|
- if screenshot.version.present?
|
||||||
- if screenshot.version.present?
|
.imgcaption
|
||||||
em.imgcaption
|
em from version #{screenshot.version}
|
||||||
'(from version #{screenshot.version})
|
- if user_signed_in?
|
||||||
- if user_signed_in?
|
.imgcaption
|
||||||
em.imgcaption Admin status: #{screenshot.adminstatus}
|
em 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