Chris@1464:
Chris@1464: <%= link_to l(:button_log_time), Chris@1464: {:controller => 'timelog', :action => 'new', :project_id => @project, :issue_id => @issue}, Chris@1464: :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project, :global => true) %> Chris@1464:
Chris@1464: Chris@1464: <%= render_timelog_breadcrumb %> Chris@1464: Chris@1464:

<%= l(:label_spent_time) %>

Chris@1464: Chris@1464: <%= form_tag({:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}, :method => :get, :id => 'query_form') do %> Chris@1464: <%= render :partial => 'date_range' %> Chris@1464: <% end %> Chris@1464: Chris@1464:
Chris@1464:

<%= l(:label_total_time) %>: <%= html_hours(l_hours(@total_hours)) %>

Chris@1464:
Chris@1464: Chris@1464: <% unless @entries.empty? %> Chris@1464: <%= render :partial => 'list', :locals => { :entries => @entries }%> Chris@1464:

<%= pagination_links_full @entry_pages, @entry_count %>

Chris@1464: Chris@1464: <% other_formats_links do |f| %> Chris@1464: <%= f.link_to 'Atom', :url => params.merge({:issue_id => @issue, :key => User.current.rss_key}) %> Chris@1464: <%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %> Chris@1464: <% end %> Chris@1464: Chris@1464: Chris@1464: <% end %> Chris@1464: Chris@1464: <% html_title l(:label_spent_time), l(:label_details) %> Chris@1464: Chris@1464: <% content_for :header_tags do %> Chris@1464: <%= auto_discovery_link_tag(:atom, {:issue_id => @issue, :format => 'atom', :key => User.current.rss_key}, :title => l(:label_spent_time)) %> Chris@1464: <% end %>