From f952040dd44b914b2d5e405567eb655757dfc85d Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 17 Sep 2009 11:03:35 +0200 Subject: added shadowbody, first js gallery initializer and template modifications --- .../custom/page_templates/public/no_date_and_author.html.erb | 2 +- .../public/no_title_abstract_date_and_author.html.erb | 2 +- .../custom/page_templates/public/standard_template.html.erb | 2 +- app/views/layouts/application.html.erb | 9 +++++++++ 4 files changed, 12 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/views/custom/page_templates/public/no_date_and_author.html.erb b/app/views/custom/page_templates/public/no_date_and_author.html.erb index 27cc1c0..08911ff 100644 --- a/app/views/custom/page_templates/public/no_date_and_author.html.erb +++ b/app/views/custom/page_templates/public/no_date_and_author.html.erb @@ -2,7 +2,7 @@

<%= @page.title %>


<%= @page.abstract %>

-

<%= headline_image %>

+
<%= headline_image %>
<%= aggregate?(@page.body) %> diff --git a/app/views/custom/page_templates/public/no_title_abstract_date_and_author.html.erb b/app/views/custom/page_templates/public/no_title_abstract_date_and_author.html.erb index eab658c..83cbff6 100644 --- a/app/views/custom/page_templates/public/no_title_abstract_date_and_author.html.erb +++ b/app/views/custom/page_templates/public/no_title_abstract_date_and_author.html.erb @@ -1,5 +1,5 @@
-
<%= headline_image %>
+
<%= headline_image %>
<%= aggregate?(@page.body) %>
diff --git a/app/views/custom/page_templates/public/standard_template.html.erb b/app/views/custom/page_templates/public/standard_template.html.erb index 7893fdd..9ce3e94 100644 --- a/app/views/custom/page_templates/public/standard_template.html.erb +++ b/app/views/custom/page_templates/public/standard_template.html.erb @@ -3,7 +3,7 @@

<%= date_for_page @page %>, <%= @page.user.try(:login) %>


<%= @page.abstract %>

-

<%= headline_image %>

+
<%= headline_image %>
<%= aggregate?(@page.body) %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2239c17..efa8c5d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -7,6 +7,15 @@ <%= page_title %> <%= stylesheet_link_tag "ccc" %> + <%= javascript_include_tag 'jquery-1.3.2.min' %> + <%= javascript_include_tag 'shadowbox/shadowbox' %> + <%= javascript_include_tag 'public' %> + <%= stylesheet_link_tag "shadowbox" %> + + + <%= auto_discovery_link_tag(:rss, {:controller => "rss", :action => "updates"}) %> -- cgit v1.3