To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / timelog / index.html.erb @ 1297:0a574315af3e
History | View | Annotate | Download (1.26 KB)
| 1 |
<div class="contextual"> |
|---|---|
| 2 |
<%= link_to l(:button_log_time),
|
| 3 |
{:controller => 'timelog', :action => 'new', :project_id => @project, :issue_id => @issue},
|
| 4 |
:class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project, :global => true) %>
|
| 5 |
</div>
|
| 6 |
|
| 7 |
<%= render_timelog_breadcrumb %>
|
| 8 |
|
| 9 |
<h2><%= l(:label_spent_time) %></h2> |
| 10 |
|
| 11 |
<%= form_tag({:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}, :method => :get, :id => 'query_form') do %>
|
| 12 |
<%= render :partial => 'date_range' %>
|
| 13 |
<% end %>
|
| 14 |
|
| 15 |
<div class="total-hours"> |
| 16 |
<p><%= l(:label_total) %>: <%= html_hours(l_hours(@total_hours)) %></p> |
| 17 |
</div>
|
| 18 |
|
| 19 |
<% unless @entries.empty? %>
|
| 20 |
<%= render :partial => 'list', :locals => { :entries => @entries }%>
|
| 21 |
<p class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></p> |
| 22 |
|
| 23 |
<% other_formats_links do |f| %>
|
| 24 |
<%= f.link_to 'Atom', :url => params.merge({:issue_id => @issue, :key => User.current.rss_key}) %>
|
| 25 |
<%= f.link_to 'CSV', :url => params %>
|
| 26 |
<% end %>
|
| 27 |
<% end %>
|
| 28 |
|
| 29 |
<% html_title l(:label_spent_time), l(:label_details) %>
|
| 30 |
|
| 31 |
<% content_for :header_tags do %>
|
| 32 |
<%= auto_discovery_link_tag(:atom, {:issue_id => @issue, :format => 'atom', :key => User.current.rss_key}, :title => l(:label_spent_time)) %>
|
| 33 |
<% end %>
|