diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-03 08:09:36 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-03 08:09:36 +0000 |
commit | 012dc74eea45d881beaf923fb9ca79f74b0ee813 (patch) | |
tree | a1b898e28bdc5383868de73671117dfbbb5aa0dc /app/views/activities | |
parent | eb8770899ca21b18a6317d55f158a15cd5502da5 (diff) | |
download | redmine-012dc74eea45d881beaf923fb9ca79f74b0ee813.tar.gz redmine-012dc74eea45d881beaf923fb9ca79f74b0ee813.zip |
use li tags for issue links in activities index (#13242)
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11776 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/activities')
-rw-r--r-- | app/views/activities/index.html.erb | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb index 7522e4ba0..a3654ce29 100644 --- a/app/views/activities/index.html.erb +++ b/app/views/activities/index.html.erb @@ -43,11 +43,17 @@ <% content_for :sidebar do %> <%= form_tag({}, :method => :get) do %> <h3><%= l(:label_activity) %></h3> -<p><% @activity.event_types.each do |t| %> -<%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> -<label for="show_<%=t%>"><%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id], :from => params[:from]})%></label> -<br /> -<% end %></p> +<ul> +<% @activity.event_types.each do |t| %> + <li> + <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> + <label for="show_<%=t%>"> + <%= link_to(l("label_#{t.singularize}_plural"), + {"show_#{t}" => 1, :user_id => params[:user_id], :from => params[:from]})%> + </label> + </li> +<% end %> +</ul> <% if @project && @project.descendants.active.any? %> <%= hidden_field_tag 'with_subprojects', 0 %> <p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p> |