HTML escape.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6330 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5ba1ef5df7
commit
40692c10cf
|
@ -14,7 +14,7 @@
|
||||||
<a href="#" class="submenu"><%= l(:field_activity) %></a>
|
<a href="#" class="submenu"><%= l(:field_activity) %></a>
|
||||||
<ul>
|
<ul>
|
||||||
<% @activities.each do |u| -%>
|
<% @activities.each do |u| -%>
|
||||||
<li><%= context_menu_link u.name, {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post,
|
<li><%= context_menu_link h(u.name), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post,
|
||||||
:selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:update] %></li>
|
:selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:update] %></li>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<li><%= context_menu_link l(:label_nobody), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post,
|
<li><%= context_menu_link l(:label_nobody), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post,
|
||||||
|
|
Loading…
Reference in New Issue