Makes activity view accept a user_id param to show user's activity (#1002).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2067 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
fce4615f10
commit
6e777b7453
35 files changed
+76
-7
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<h2><%= l(:label_activity) %></h2>
|
||||
<h2><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, @author.to_s) %></h2>
|
||||
<p class="subtitle"><%= "#{l(:label_date_from)} #{format_date(@date_to - @days)} #{l(:label_date_to).downcase} #{format_date(@date_to-1)}" %></p>
|
||||
|
||||
<div id="activity">
|
||||
@@ -52,8 +52,9 @@
|
||||
<p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
|
||||
<%= hidden_field_tag 'with_subprojects', 0 %>
|
||||
<% end %>
|
||||
<%= hidden_field_tag 'user_id', params[:user_id] %>
|
||||
<p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% html_title(l(:label_activity)) -%>
|
||||
<% html_title(l(:label_activity), @author) -%>
|
||||
Reference in new issue
Block a user