<label><%= radio_button_tag 'c[]', '', true %> <%= l(:description_selected_columns) %></label><br />
<label><%= radio_button_tag 'c[]', 'all_inline' %> <%= l(:description_all_columns) %></label>
</p>
- <p>
- <% @query.available_block_columns.each do |column| %>
- <label><%= check_box_tag 'c[]', column.name, @query.has_column?(column) %> <%= column.caption %></label>
- <% end %>
- </p>
+ <% if @query.available_block_columns.any? %>
+ <fieldset id="csv-export-block-columns">
+ <legend>
+ <%= toggle_checkboxes_link('#csv-export-block-columns input[type=checkbox]') %>
+ </legend>
+ <% @query.available_block_columns.each do |column| %>
+ <label><%= check_box_tag 'c[]', column.name, @query.has_column?(column), :id => nil %> <%= column.caption %></label>
+ <% end %>
+ </fieldset>
+ <% end %>
<%= export_csv_encoding_select_tag %>
<% if @issue_count > Setting.issues_export_limit.to_i %>
<p class="icon icon-warning">
<label><%= radio_button_tag 'c[]', '', true %> <%= l(:description_selected_columns) %></label><br />
<label><%= radio_button_tag 'c[]', 'all_inline' %> <%= l(:description_all_columns) %></label>
</p>
- <p>
- <% @query.available_block_columns.each do |column| %>
- <label><%= check_box_tag 'c[]', column.name, @query.has_column?(:column) %> <%= column.caption %></label>
- <% end %>
- </p>
+ <% if @query.available_block_columns.any? %>
+ <fieldset id="csv-export-block-columns">
+ <legend>
+ <%= toggle_checkboxes_link('#csv-export-block-columns input[type=checkbox]') %>
+ </legend>
+ <% @query.available_block_columns.each do |column| %>
+ <label><%= check_box_tag 'c[]', column.name, @query.has_column?(:column), :id => nil %> <%= column.caption %></label>
+ <% end %>
+ </fieldset>
+ <% end %>
<%= export_csv_encoding_select_tag %>
<p class="buttons">
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %>
tr.user.locked a, tr.user.registered a { color: #aaa; }
table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}
-table.permissions tr.group>td:nth-of-type(1),
+table.permissions tr.group>td:nth-of-type(1),
table.tracker-summary tr.group>td:nth-of-type(1) {font-weight: bold;}
tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;}
}
#search-form fieldset p {margin:0.2em 0;}
+#csv-export-options fieldset {padding: 0;}
/***** Tabular forms ******/
.tabular p{