To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / timelog / _date_range.html.erb @ 1531:ae8145b28b2b

History | View | Annotate | Download (1.63 KB)

1
<div id="query_form_with_buttons" class="hide-when-print">
2
<div id="query_form_content">
3
  <fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
4
    <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
5
    <div style="<%= @query.new_record? ? "" : "display: none;" %>">
6
      <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
7
    </div>
8
  </fieldset>
9
  <fieldset class="collapsible collapsed">
10
    <legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
11
    <div style="display: none;">
12
      <table>
13
        <tr>
14
          <td><%= l(:field_column_names) %></td>
15
          <td><%= render_query_columns_selection(@query) %></td>
16
        </tr>
17
      </table>
18
    </div>
19
  </fieldset>
20
</div>
21

    
22
<p class="buttons">
23
  <%= link_to_function l(:button_apply), 'submit_query_form("query_form")', :class => 'icon icon-checked' %>
24
  <%= link_to l(:button_clear), {:project_id => @project, :issue_id => @issue}, :class => 'icon icon-reload'  %>
25
</p>
26
</div>
27

    
28
<div class="tabs hide-when-print">
29
<% query_params = params.slice(:f, :op, :v, :sort) %>
30
<ul>
31
    <li><%= link_to(l(:label_details), query_params.merge({:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue }),
32
                                       :class => (action_name == 'index' ? 'selected' : nil)) %></li>
33
    <li><%= link_to(l(:label_report), query_params.merge({:controller => 'timelog', :action => 'report', :project_id => @project, :issue_id => @issue}),
34
                                       :class => (action_name == 'report' ? 'selected' : nil)) %></li>
35
</ul>
36
</div>