diff options
Diffstat (limited to 'vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb')
-rw-r--r-- | vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb index e9121d6..baad049 100644 --- a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb +++ b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb @@ -3,11 +3,21 @@ <% @gallery_links.each do |g| %> <article class="gallery_link" id="gallery_link_<%= g.id %>"> <header> + <div class="gallery_link_meta"> + <time datetime="<%= g.date.xmlschema %>"> + <%= l(g.date) %> + </time> + </div> <h1> - <%= link_to g.title, g.url %> + <%= link_to g.bands, g.url %> </h1> - <%= link_to image_tag(g.image.thumbnail(:medium).url), g.url %> + <div class="gallery_link_meta"> + <%= g.venue %> + </div> </header> + <section class="gallery_link_preview"> + <%= link_to image_tag(g.image.thumbnail(:medium).url), g.url %> + </section> <section class="gallery_link_description"> <%=raw g.description %> </section> |