Mercurial > hg > soundsoftware-site
comparison app/views/activities/.svn/text-base/index.html.erb.svn-base @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 40f7cfd4df19 |
children |
comparison
equal
deleted
inserted
replaced
245:051f544170fe | 441:cbce1fd3b1b7 |
---|---|
19 </div> | 19 </div> |
20 | 20 |
21 <%= content_tag('p', l(:label_no_data), :class => 'nodata') if @events_by_day.empty? %> | 21 <%= content_tag('p', l(:label_no_data), :class => 'nodata') if @events_by_day.empty? %> |
22 | 22 |
23 <div style="float:left;"> | 23 <div style="float:left;"> |
24 <%= link_to_remote(('« ' + l(:label_previous)), | 24 <%= link_to_content_update('« ' + l(:label_previous), |
25 {:update => "content", :url => params.merge(:from => @date_to - @days - 1), :method => :get, :complete => 'window.scrollTo(0,0)'}, | 25 params.merge(:from => @date_to - @days - 1), |
26 {:href => url_for(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))) %> |
27 :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1))}) %> | |
28 </div> | 27 </div> |
29 <div style="float:right;"> | 28 <div style="float:right;"> |
30 <%= link_to_remote((l(:label_next) + ' »'), | 29 <%= link_to_content_update(l(:label_next) + ' »', |
31 {:update => "content", :url => params.merge(:from => @date_to + @days - 1), :method => :get, :complete => 'window.scrollTo(0,0)'}, | 30 params.merge(:from => @date_to + @days - 1), |
32 {:href => url_for(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 %> |
33 :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1))}) unless @date_to >= Date.today %> | |
34 </div> | 32 </div> |
35 | 33 |
36 <% other_formats_links do |f| %> | 34 <% other_formats_links do |f| %> |
37 <%= f.link_to 'Atom', :url => params.merge(:from => nil, :key => User.current.rss_key) %> | 35 <%= f.link_to 'Atom', :url => params.merge(:from => nil, :key => User.current.rss_key) %> |
38 <% end %> | 36 <% end %> |