aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-04-03 12:40:00 +0100
committerGareth Rees <gareth@mysociety.org>2014-04-07 13:21:04 +0100
commite6d9a0ecdf291ea2f68b9e65781537bfda59ee1c (patch)
tree167feedefb9bff58128f23fb2b0bf45711af9511 /app/views
parentb16bd59bc5a58cebe3f9fbf3d031f813bb720cff (diff)
use fancybox-rails to provide fancybox
http://rubygems.org/gems/fancybox-rails Provides better asset pipeline integration.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/general/_stylesheet_includes.html.erb2
-rw-r--r--app/views/layouts/default.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/general/_stylesheet_includes.html.erb b/app/views/general/_stylesheet_includes.html.erb
index 7a1648efd..f76c146de 100644
--- a/app/views/general/_stylesheet_includes.html.erb
+++ b/app/views/general/_stylesheet_includes.html.erb
@@ -17,6 +17,6 @@
<%= stylesheet_link_tag 'ie7.css' %>
<![endif]-->
<% if AlaveteliConfiguration::force_registration_on_new_request %>
- <%= stylesheet_link_tag 'jquery.fancybox-1.3.4.css', :rel => "stylesheet" %>
+ <%= stylesheet_link_tag 'fancybox.css', :rel => "stylesheet" %>
<% end %>
<% end %>
diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb
index 52b718be8..79d7b9c93 100644
--- a/app/views/layouts/default.html.erb
+++ b/app/views/layouts/default.html.erb
@@ -43,7 +43,7 @@
</head>
<body class="<%= 'front' if params[:action] == 'frontpage' %>">
<% if AlaveteliConfiguration::force_registration_on_new_request && !@user %>
- <%= javascript_include_tag 'jquery.fancybox-1.3.4.pack.js' %>
+ <%= javascript_include_tag 'fancybox.js' %>
<script type="text/javascript">
$(document).ready(function() {
$("#make-request-link").fancybox({