aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-13 16:47:29 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-13 16:47:29 +0100
commit6c5aaabe8bb0ae1b8025953f6a9c462846bbb873 (patch)
tree93f68b2d3307b8f64187444a769a92cebf135caa /vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb
parent97130af8dd3f761bbc4cc085def3cd39b80b876e (diff)
parent00e2586a42931567d2ac18350d41dd882e7fcd92 (diff)
downloadhmnoweb-6c5aaabe8bb0ae1b8025953f6a9c462846bbb873.tar.gz
hmnoweb-6c5aaabe8bb0ae1b8025953f6a9c462846bbb873.tar.bz2
hmnoweb-6c5aaabe8bb0ae1b8025953f6a9c462846bbb873.zip
Merge branch 'gallery-links'
Diffstat (limited to 'vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb')
-rw-r--r--vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb51
1 files changed, 51 insertions, 0 deletions
diff --git a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb
new file mode 100644
index 0000000..5496612
--- /dev/null
+++ b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb
@@ -0,0 +1,51 @@
+<% content_for :body_content_title do %>
+ <%= @gallery_link.title %>
+<% end %>
+
+<% content_for :body do %>
+ <section>
+ <h1>Title</h1>
+ <p>
+ <%=raw @gallery_link.title %>
+ </p>
+ </section>
+ <section>
+ <h1>Url</h1>
+ <p>
+ <%=raw @gallery_link.url %>
+ </p>
+ </section>
+ <section>
+ <h1>Photographer</h1>
+ <p>
+ <%=raw @gallery_link.photographer %>
+ </p>
+ </section>
+ <section>
+ <h1>Description</h1>
+ <p>
+ <%=raw @gallery_link.description %>
+ </p>
+ </section>
+ <section>
+ <h1>Image</h1>
+ <p>
+ <%=raw @gallery_link.image_id %>
+ </p>
+ </section>
+<% end %>
+
+<% content_for :side_body do %>
+ <aside>
+ <h2><%= t('.other') %></h2>
+ <ul id="gallery_links">
+ <% @gallery_links.each do |gallery_link| %>
+ <li>
+ <%= link_to gallery_link.title, refinery.gallery_links_gallery_link_path(gallery_link) %>
+ </li>
+ <% end %>
+ </ul>
+ </aside>
+<% end %>
+
+<%= render '/refinery/content_page' %>