Revision 442:753f1380d6bc app/views/activities/.svn/text-base

View differences:

app/views/activities/.svn/text-base/index.html.erb.svn-base
21 21
<%= content_tag('p', l(:label_no_data), :class => 'nodata') if @events_by_day.empty? %>
22 22

  
23 23
<div style="float:left;">
24
<%= link_to_remote(('&#171; ' + l(:label_previous)), 
25
                   {:update => "content", :url => params.merge(:from => @date_to - @days - 1), :method => :get, :complete => 'window.scrollTo(0,0)'},
26
                   {:href => url_for(params.merge(:from => @date_to - @days - 1)),
27
                    :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1))}) %>
24
<%= link_to_content_update('&#171; ' + l(:label_previous), 
25
                   params.merge(:from => @date_to - @days - 1),
26
                   :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1))) %>
28 27
</div>
29 28
<div style="float:right;">
30
<%= link_to_remote((l(:label_next) + ' &#187;'), 
31
                   {:update => "content", :url => params.merge(:from => @date_to + @days - 1), :method => :get, :complete => 'window.scrollTo(0,0)'},
32
                   {:href => url_for(params.merge(:from => @date_to + @days - 1)),
33
                    :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1))}) unless @date_to >= Date.today %>
29
<%= link_to_content_update(l(:label_next) + ' &#187;', 
30
                   params.merge(:from => @date_to + @days - 1),
31
                   :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1))) unless @date_to >= Date.today %>
34 32
</div>
35 33
&nbsp;
36 34
<% other_formats_links do |f| %>

Also available in: Unified diff