| 1 | 1 | <div class="contextual"> | 
  | 2 |  | <%= link_to l(:button_log_time), | 
  |  | 2 | <%= link_to sprite_icon('time-add', l(:button_log_time)), | 
  | 3 | 3 |             _new_time_entry_path(@project, @issue), | 
  | 4 | 4 |             :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project, :global => true) %> | 
  | 5 |  | <%= link_to_if_authorized l(:label_settings), | 
  | 6 |  |             {:controller => 'projects', :action => 'settings', :id => @project, :tab => 'activities'}, | 
  | 7 |  |             :class => 'icon icon-settings' if User.current.allowed_to?(:manage_project_activities, @project) %> | 
  |  | 5 | <%= link_to_if_authorized sprite_icon('settings', l(:label_settings)), | 
  |  | 6 |                           {:controller => 'projects', :action => 'settings', :id => @project, :tab => 'activities'}, | 
  |  | 7 |                           :class => 'icon icon-settings' if User.current.allowed_to?(:manage_project_activities, @project) %> | 
  | 8 | 8 | </div> | 
  | 9 | 9 |  | 
  | 10 | 10 | <h2><%= @query.new_record? ? l(:label_spent_time) : @query.name %></h2> | 
  | ... | ... |  | 
  | 26 | 26 |                                                           :style => 'width: 200px', | 
  | 27 | 27 |                                                           :disabled => (@report.criteria.length >= 3), | 
  | 28 | 28 |                                                           :id => "criterias") %> | 
  | 29 |  |      <%= link_to l(:button_clear), {:params => request.query_parameters.merge(:criteria => nil)}, :class => 'icon icon-reload' %></p> | 
  |  | 29 |      <%= link_to sprite_icon('reload', l(:button_clear)), {:params => request.query_parameters.merge(:criteria => nil)}, :class => 'icon icon-reload' %></p> | 
  | 30 | 30 |   <%= hidden_field_tag 'encoding', l(:general_csv_encoding) unless l(:general_csv_encoding).casecmp('UTF-8') == 0 %> | 
  | 31 | 31 | <% end %> | 
  | 32 | 32 |  |