Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Markech
refinerycms-news
Commits
40fdada7
Commit
40fdada7
authored
Jan 04, 2013
by
Martin Markech
Browse files
add page images view
parent
0e54a1d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/views/refinery/news/shared/_news_images.html.erb
0 → 100644
View file @
40fdada7
<%
if
@item
.
images
.
present?
%>
<ul
id=
'gallery'
class=
"clearfix"
>
<%
@item
.
images
.
each
do
|
image
|
%>
<li>
<%=
link_to
image_tag
(
image
.
thumbnail
(
"140x105#c"
).
url
),
image
.
thumbnail
(
"800x600"
).
url
,
{
:rel
=>
"group"
,
:title
=>
""
}
%>
</li>
<%
end
%>
</ul>
<%
end
%>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment