app/views/pageflow/internal_links/grid/page.html.erb in pageflow-internal-links-1.1.0 vs app/views/pageflow/internal_links/grid/page.html.erb in pageflow-internal-links-1.2.0
- old
+ new
@@ -1,25 +1,15 @@
-<div class="blackLayer"></div>
+<div class="black_layer"></div>
<div class="content_and_background internal_links_page">
- <div class="backgroundArea">
- <%= page_background_asset(configuration) %>
+ <div class="page_background">
+ <%= page_background_asset(page) %>
<%= shadow_div :opacity => configuration['gradient_opacity'] %>
</div>
<div class="content scroller">
<div>
- <div class="contentWrapper">
- <div class="page_header">
- <h2>
- <span class="tagline"><%= configuration['tagline'] %></span>
- <span class="title"><%= configuration['title'] %></span>
- <span class="subtitle"><%= configuration['subtitle'] %></span>
- </h2>
- <%= background_image_tag(configuration['background_image_id'], {"class" => "print_image"}) %>
- </div>
- <div class="contentText">
- <p><%= raw configuration['text'] %></p>
- </div>
- <%= internal_links_grid(@entry, configuration) %>
+ <div class="content_wrapper">
+ <%= page_default_content(page) %>
+ <%= internal_links_grid(entry, configuration) %>
</div>
</div>
</div>
</div>