diff options
| author | hukl <contact@smyck.org> | 2009-10-08 22:24:51 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-10-08 22:24:51 +0200 |
| commit | 2fd33c36428ae7684badc43dbe2142152f058b4e (patch) | |
| tree | c1025efc497973e268baa1b531120e726478d992 /app/views/layouts/application.html.erb | |
| parent | 0db008d0bfb0803e5b000fcf08058e7d01f588eb (diff) | |
enabled shadowbox for headline images on public pages. if js is disabled the regular html version is rendered
Diffstat (limited to 'app/views/layouts/application.html.erb')
| -rw-r--r-- | app/views/layouts/application.html.erb | 7 |
1 files changed, 1 insertions, 6 deletions
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 |
