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 / .svn / pristine / 2e / 2e2d614b9e64145af9606e9c3e56e58eb315056d.svn-base @ 1298:4f746d8966dd

History | View | Annotate | Download (1.59 KB)

1 1295:622f24f53b42 Chris
<div id="query_form_content" class="hide-when-print">
2
  <fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
3
    <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
4
    <div style="<%= @query.new_record? ? "" : "display: none;" %>">
5
      <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
6
    </div>
7
  </fieldset>
8
  <fieldset class="collapsible collapsed">
9
    <legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
10
    <div style="display: none;">
11
      <table>
12
        <tr>
13
          <td><%= l(:field_column_names) %></td>
14
          <td><%= render_query_columns_selection(@query) %></td>
15
        </tr>
16
      </table>
17
    </div>
18
  </fieldset>
19
</div>
20
21
<p class="buttons hide-when-print">
22
  <%= link_to_function l(:button_apply), 'submit_query_form("query_form")', :class => 'icon icon-checked' %>
23
  <%= link_to l(:button_clear), {:project_id => @project, :issue_id => @issue}, :class => 'icon icon-reload'  %>
24
</p>
25
26
<div class="tabs">
27
<% query_params = params.slice(:f, :op, :v, :sort) %>
28
<ul>
29
    <li><%= link_to(l(:label_details), query_params.merge({:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue }),
30
                                       :class => (action_name == 'index' ? 'selected' : nil)) %></li>
31
    <li><%= link_to(l(:label_report), query_params.merge({:controller => 'timelog', :action => 'report', :project_id => @project, :issue_id => @issue}),
32
                                       :class => (action_name == 'report' ? 'selected' : nil)) %></li>
33
</ul>
34
</div>