diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-01-07 17:12:47 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-01-07 17:12:47 +0100 |
commit | 41b0d6bc69e3b0f751290b442e2f171a0ae8090d (patch) | |
tree | 4b4059c080729e26e0ef6e7a7b64c370dfcd4e5d /vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb | |
parent | a43ed4dcf9173a6faadf260fb1bd93aa2d391257 (diff) | |
download | hmnoweb-41b0d6bc69e3b0f751290b442e2f171a0ae8090d.tar.gz hmnoweb-41b0d6bc69e3b0f751290b442e2f171a0ae8090d.tar.bz2 hmnoweb-41b0d6bc69e3b0f751290b442e2f171a0ae8090d.zip |
Split GalleryLink header into date, venue and bands.
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> |