+++ /dev/null
-(function () {
- var num = Math.floor(Math.random() * 6);
-
- // Background image
- if (window.location.hash) {
- var h = window.location.hash.match(/#(.*)/);
- if (!isNaN(parseInt(h[1], 10))) num = h[1];
- }
-
- // $(document).ready(function () {
- // $('#content').attr('class', 'photo-' + num);
- // });
-
- $(document).on('click', '#next-photo', function () {
- num = (num + 1) % 6;
- $('#content').attr('class', 'photo-' + num);
- window.location.hash = num;
- return false;
- });
-})();
-<% content_for :head do %>
- <%= javascript_include_tag "about" %>
-<% end %>
-
<div class='attr'>
<div class='byosm'>
<%= t "about_page.copyright_html" %>
<p><%= t "about_page.open_data_html", :copyright_path => copyright_path %></p>
</div>
</div>
-
-<% 5.times do |i| %>
- <div class='caption photo-<%= i %>'>
- <%= t "about_page.photo_caption_#{i}_html" %>
- </div>
-<% end %>
-
-<!-- <a class='next' id='next-photo' href='#'><%= t "about_page.next" %></a> -->
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
- config.assets.precompile += %w( index.js browse.js welcome.js about.js )
+ config.assets.precompile += %w( index.js browse.js welcome.js )
config.assets.precompile += %w( user.js diary_entry.js pngfix.js swfobject.js )
config.assets.precompile += %w( large-ltr.css small-ltr.css print-ltr.css )
config.assets.precompile += %w( large-rtl.css small-rtl.css print-rtl.css )