Mercurial > hg > soundsoftware-site
comparison app/views/timelog/.svn/text-base/index.html.erb.svn-base @ 37:94944d00e43c
* Update to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 13:24:41 +0000 |
parents | |
children | cbce1fd3b1b7 |
comparison
equal
deleted
inserted
replaced
22:40f7cfd4df19 | 37:94944d00e43c |
---|---|
1 <div class="contextual"> | |
2 <%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time-add' %> | |
3 </div> | |
4 | |
5 <%= render_timelog_breadcrumb %> | |
6 | |
7 <h2><%= l(:label_spent_time) %></h2> | |
8 | |
9 <% form_remote_tag( :url => {}, :html => {:method => :get, :id => 'query_form'}, :method => :get, :update => 'content' ) do %> | |
10 <%# TOOD: remove the project_id and issue_id hidden fields, that information is | |
11 already in the URI %> | |
12 <%= hidden_field_tag('project_id', params[:project_id]) if @project %> | |
13 <%= hidden_field_tag 'issue_id', params[:issue_id] if @issue %> | |
14 <%= render :partial => 'date_range' %> | |
15 <% end %> | |
16 | |
17 <div class="total-hours"> | |
18 <p><%= l(:label_total) %>: <%= html_hours(l_hours(@total_hours)) %></p> | |
19 </div> | |
20 | |
21 <% unless @entries.empty? %> | |
22 <%= render :partial => 'list', :locals => { :entries => @entries }%> | |
23 <p class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></p> | |
24 | |
25 <% other_formats_links do |f| %> | |
26 <%= f.link_to 'Atom', :url => params.merge({:issue_id => @issue, :key => User.current.rss_key}) %> | |
27 <%= f.link_to 'CSV', :url => params %> | |
28 <% end %> | |
29 <% end %> | |
30 | |
31 <% html_title l(:label_spent_time), l(:label_details) %> | |
32 | |
33 <% content_for :header_tags do %> | |
34 <%= auto_discovery_link_tag(:atom, {:issue_id => @issue, :format => 'atom', :key => User.current.rss_key}, :title => l(:label_spent_time)) %> | |
35 <% end %> |