Showing caption properly below the image
This commit is contained in:
parent
8bf26ea1a5
commit
c27942c60b
1 changed files with 4 additions and 3 deletions
|
|
@ -16,10 +16,11 @@
|
|||
- if screenshot.description
|
||||
.imgcaption =screenshot.description
|
||||
- if screenshot.version.present?
|
||||
em.imgcaption
|
||||
'(from version #{screenshot.version})
|
||||
.imgcaption
|
||||
em '(from version #{screenshot.version})
|
||||
- if user_signed_in?
|
||||
em.imgcaption =screenshot.adminstatus
|
||||
.imgcaption
|
||||
em =screenshot.adminstatus
|
||||
|
||||
// Is the user an admin?
|
||||
- if user_signed_in?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue