summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/content/_headline_image.html.erb10
-rw-r--r--app/views/layouts/application.html.erb7
2 files changed, 11 insertions, 6 deletions
diff --git a/app/views/content/_headline_image.html.erb b/app/views/content/_headline_image.html.erb
new file mode 100644
index 0000000..ac2e86a
--- /dev/null
+++ b/app/views/content/_headline_image.html.erb
@@ -0,0 +1,10 @@
1<%= link_to_path(
2 image_tag(@images[0].upload.url(:headline)),
3 ("galleries/" + @page.node.unique_name)
4) %>
5
6<div class="shadowbox_images" style="display: none">
7 <% @images.each do |image| %>
8 <%= link_to "hallo", image.upload.url, :class => "shadowbox_image" %>
9 <% end %>
10</div> \ No newline at end of file
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index efa8c5d..5be2240 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -9,12 +9,8 @@
9 <%= stylesheet_link_tag "ccc" %> 9 <%= stylesheet_link_tag "ccc" %>
10 <%= javascript_include_tag 'jquery-1.3.2.min' %> 10 <%= javascript_include_tag 'jquery-1.3.2.min' %>
11 <%= javascript_include_tag 'shadowbox/shadowbox' %> 11 <%= javascript_include_tag 'shadowbox/shadowbox' %>
12 <%= javascript_include_tag 'public' %>
13 <%= stylesheet_link_tag "shadowbox" %> 12 <%= stylesheet_link_tag "shadowbox" %>
14 13 <%= javascript_include_tag 'public' %>
15 <script type="text/javascript" charset="utf-8">
16 Shadowbox.init();
17 </script>
18 14
19 <%= auto_discovery_link_tag(:rss, {:controller => "rss", :action => "updates"}) %> 15 <%= auto_discovery_link_tag(:rss, {:controller => "rss", :action => "updates"}) %>
20 </head> 16 </head>
@@ -45,6 +41,5 @@
45 <%= featured_articles %> 41 <%= featured_articles %>
46 </div> 42 </div>
47 </div> 43 </div>
48
49 </body> 44 </body>
50</html> \ No newline at end of file 45</html> \ No newline at end of file