Chris@0:
Chris@0: <%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time-add' %> Chris@0:
Chris@0: Chris@0: <%= render_timelog_breadcrumb %> Chris@0: Chris@0:

<%= l(:label_spent_time) %>

Chris@0: Chris@0: <% form_remote_tag( :url => {}, :html => {:method => :get, :id => 'query_form'}, :method => :get, :update => 'content' ) do %> Chris@0: <%# TOOD: remove the project_id and issue_id hidden fields, that information is Chris@0: already in the URI %> Chris@0: <%= hidden_field_tag('project_id', params[:project_id]) if @project %> Chris@0: <%= hidden_field_tag 'issue_id', params[:issue_id] if @issue %> Chris@0: <%= render :partial => 'date_range' %> Chris@0: <% end %> Chris@0: Chris@0:
Chris@0:

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

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

<%= pagination_links_full @entry_pages, @entry_count %>

Chris@0: Chris@0: <% other_formats_links do |f| %> Chris@0: <%= f.link_to 'Atom', :url => params.merge({:issue_id => @issue, :key => User.current.rss_key}) %> Chris@0: <%= f.link_to 'CSV', :url => params %> Chris@0: <% end %> Chris@0: <% end %> Chris@0: Chris@0: <% html_title l(:label_spent_time), l(:label_details) %> Chris@0: Chris@0: <% content_for :header_tags do %> Chris@0: <%= auto_discovery_link_tag(:atom, {:issue_id => @issue, :format => 'atom', :key => User.current.rss_key}, :title => l(:label_spent_time)) %> Chris@0: <% end %>