aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-09 19:44:44 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-09 19:44:44 +0200
commit0d7c4d54292693d869e6669ff682d15b5f54a426 (patch)
tree453a5276440030b86e551a116b6ff88af0a3277f
parentaed1ccac95072ef3bacfc2563800db39609bef9d (diff)
downloadhmnoweb-0d7c4d54292693d869e6669ff682d15b5f54a426.tar.gz
hmnoweb-0d7c4d54292693d869e6669ff682d15b5f54a426.tar.bz2
hmnoweb-0d7c4d54292693d869e6669ff682d15b5f54a426.zip
Gallery links: Reindent view.
-rw-r--r--vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb86
1 files changed, 43 insertions, 43 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 baad049..7475c83 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
@@ -1,47 +1,47 @@
<% content_for :body do %>
- <section id="gallery_links">
- <% @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.bands, g.url %>
- </h1>
- <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>
- <section class="gallery_link_meta">
- <div>
- <span class="gallery_link_label">
- <%= t('.photographer') %>:
- </span>
- <span class="gallery_link_photographer">
- <%= g.photographer %>
- </span>
- </div>
- <div>
- <span class="gallery_link_label">
- <%= t('.created') %>:
- </span>
- <time datetime="<%= g.created_at %>">
- <%= l(g.created_at) %>
- </time>
- </div>
- </section>
- </article>
- <% end %>
- </section>
+<section id="gallery_links">
+ <% @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.bands, g.url %>
+ </h1>
+ <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>
+ <section class="gallery_link_meta">
+ <div>
+ <span class="gallery_link_label">
+ <%= t('.photographer') %>:
+ </span>
+ <span class="gallery_link_photographer">
+ <%= g.photographer %>
+ </span>
+ </div>
+ <div>
+ <span class="gallery_link_label">
+ <%= t('.created') %>:
+ </span>
+ <time datetime="<%= g.created_at %>">
+ <%= l(g.created_at) %>
+ </time>
+ </div>
+ </section>
+ </article>
+ <% end %>
+</section>
<% end %>
<%= render '/refinery/content_page' %>