Sha256: 611549cdc0a3b2f2f27f1291c9b6344c471d3b16c5cd7a2005d056291f37c335

Contents?: true

Size: 1.69 KB

Versions: 85

Compression:

Stored size: 1.69 KB

Contents

<%
  formatter = query.init_formatter(self)
%>

<%= form_tag({}) do %>
  <%= hidden_field_tag 'back_url', url_for(params), id: nil %>

  <div class="autoscroll">
    <table class="list <%= sort_css_classes %>">
      <thead>
        <tr>
          <th class="checkbox hide-when-print">
            <%= link_to_function image_tag('toggle_check.png'), 'toggleIssuesSelection(this)' %>
          </th>

          <% query.inline_columns.each do |column| %>
            <%= column_header(column) %>
          <% end %>

          <% if formatter.ending_buttons? %>
            <th></th>
          <% end %>
        </tr>
      </thead>

      <tbody>
        <% entities.each do |entity| %>

          <tr id="entity-<%= entity.id %>" class="hascontextmenu <%= cycle('odd', 'even') %>">
            <td class="checkbox hide-when-print">
              <%= check_box_tag('ids[]', entity.id, false, id: nil) %>
            </td>

            <% query.inline_columns.each do |column| %>
              <td>
                <%= formatter.format_column(column, entity) %>
              </td>
            <% end %>

            <% if formatter.ending_buttons? %>
              <td>
                <%= formatter.ending_buttons(entity) %>
              </td>
            <% end %>
          </tr>

          <% query.block_columns.each do |column| %>
            <% text = formatter.format_column(column, entity) %>
            <% if text.present? %>
              <tr class="<%= current_cycle %>">
                <td colspan="<%= query.inline_columns.size + (formatter.ending_buttons? ? 2 : 1) %>"><%= text %></td>
              </tr>
            <% end %>
          <% end %>

        <% end %>
      </tbody>
    </table>
  </div>
<% end %>

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
redmine_extensions-1.2.0 app/views/easy_queries/_entities.html.erb
redmine_extensions-1.1.2 app/views/easy_queries/_entities.html.erb
redmine_extensions-1.1.1 app/views/easy_queries/_entities.html.erb
redmine_extensions-1.1.0 app/views/easy_queries/_entities.html.erb
redmine_extensions-1.0.0 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.6.3 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.6.2 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.6.1 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.6.0 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.4.5 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.5.1 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.4.4 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.4.3 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.4.1 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.4.0 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.4.0.beta app/views/easy_queries/_entities.html.erb
redmine_extensions-0.3.11 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.3.10 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.3.9 app/views/easy_queries/_entities.html.erb
redmine_extensions-0.3.8 app/views/easy_queries/_entities.html.erb