comparison app/views/activities/index.html.erb @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents cbb26bc654de
children bb32da3bea34 622f24f53b42 261b3d9a4903
comparison
equal deleted inserted replaced
929:5f33065ddc4b 1115:433d4f72a19b
1 <h2><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)) %></h2> 1 <h2><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %></h2>
2 <p class="subtitle"><%= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %></p> 2 <p class="subtitle"><%= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %></p>
3 3
4 <div id="activity"> 4 <div id="activity">
5 <% @events_by_day.keys.sort.reverse.each do |day| %> 5 <% @events_by_day.keys.sort.reverse.each do |day| %>
6 <h3><%= format_activity_day(day) %></h3> 6 <h3><%= format_activity_day(day) %></h3>
38 <% content_for :header_tags do %> 38 <% content_for :header_tags do %>
39 <%= auto_discovery_link_tag(:atom, params.merge(:format => 'atom', :from => nil, :key => User.current.rss_key)) %> 39 <%= auto_discovery_link_tag(:atom, params.merge(:format => 'atom', :from => nil, :key => User.current.rss_key)) %>
40 <% end %> 40 <% end %>
41 41
42 <% content_for :sidebar do %> 42 <% content_for :sidebar do %>
43 <% form_tag({}, :method => :get) do %> 43 <%= form_tag({}, :method => :get) do %>
44 <h3><%= l(:label_activity) %></h3> 44 <h3><%= l(:label_activity) %></h3>
45 <p><% @activity.event_types.each do |t| %> 45 <p><% @activity.event_types.each do |t| %>
46 <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> 46 <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %>
47 <label for="show_<%=t%>"><%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id]})%></label> 47 <label for="show_<%=t%>"><%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id]})%></label>
48 <br /> 48 <br />