##// END OF EJS Templates
pdf: lib: add a method to export wiki (#401)...
pdf: lib: add a method to export wiki (#401) Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7740 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7558:fc54fac55621
r7620:1713432ab009
Show More
_form.html.erb
52 lines | 2.6 KiB | text/plain | TextLexer
Jean-Philippe Lang
"queries" branch merged...
r92 <%= error_messages_for 'query' %>
<div class="box">
<div class="tabular">
<p><label for="query_name"><%=l(:field_name)%></label>
<%= text_field 'query', 'name', :size => 80 %></p>
Jean-Philippe Lang
Added per user custom queries....
r563
Jean-Philippe Lang
Allows multiple roles on the same project (#706). Prerequisite for user groups feature....
r2627 <% if User.current.admin? || User.current.allowed_to?(:manage_public_queries, @project) %>
Jean-Philippe Lang
Queries can be marked as 'For all projects'. Such queries will be available on all projects and on the global issue list (#897, closes #671)....
r1296 <p><label for="query_is_public"><%=l(:field_is_public)%></label>
<%= check_box 'query', 'is_public',
:onchange => (User.current.admin? ? nil : 'if (this.checked) {$("query_is_for_all").checked = false; $("query_is_for_all").disabled = true;} else {$("query_is_for_all").disabled = false;}') %></p>
Jean-Philippe Lang
Added per user custom queries....
r563 <% end %>
Jean-Philippe Lang
Added the ability to customize columns of a saved query....
r771
Jean-Philippe Lang
Queries can be marked as 'For all projects'. Such queries will be available on all projects and on the global issue list (#897, closes #671)....
r1296 <p><label for="query_is_for_all"><%=l(:field_is_for_all)%></label>
<%= check_box_tag 'query_is_for_all', 1, @query.project.nil?,
:disabled => (!@query.new_record? && (@query.project.nil? || (@query.is_public? && !User.current.admin?))) %></p>
Jean-Philippe Lang
Added a checkbox on custom query form to explicitly say if the query uses default columns or not....
r772 <p><label for="query_default_columns"><%=l(:label_default_columns)%></label>
<%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns',
Jean-Philippe Lang
Custom query columns: checkboxes replaced by two selects that let the user specify columns order....
r773 :onclick => 'if (this.checked) {Element.hide("columns")} else {Element.show("columns")}' %></p>
Jean-Philippe Lang
Ticket grouping (#2679)....
r2604
<p><label for="query_group_by"><%= l(:field_group_by) %></label>
<%= select 'query', 'group_by', @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, :include_blank => true %></p>
Jean-Philippe Lang
"queries" branch merged...
r92 </div>
Jean-Philippe Lang
Move the filters buttons inside the filters fieldset on the issue list (closes #614)....
r1247 <fieldset><legend><%= l(:label_filter_plural) %></legend>
Jean-Philippe Lang
"queries" branch merged...
r92 <%= render :partial => 'queries/filters', :locals => {:query => query}%>
Jean-Philippe Lang
Move the filters buttons inside the filters fieldset on the issue list (closes #614)....
r1247 </fieldset>
Jean-Philippe Lang
Ability to save "sort order" in custom queries (#2899)....
r2504 <fieldset><legend><%= l(:label_sort) %></legend>
<% 3.times do |i| %>
Toshi MARUYAMA
[#9489] added invisible labels for queries...
r7558 <%= i+1 %>:
<%= label_tag "query_sort_criteria_attribute_" + i.to_s,
l(:description_query_sort_criteria_attribute), :class => "hidden-for-sighted" %>
<%= select_tag("query[sort_criteria][#{i}][]",
options_for_select([[]] + query.available_columns.select(&:sortable?).collect {|column| [column.caption, column.name.to_s]}, @query.sort_criteria_key(i)),
:id => "query_sort_criteria_attribute_" + i.to_s)%>
<%= label_tag "query_sort_criteria_direction_" + i.to_s,
l(:description_query_sort_criteria_direction), :class => "hidden-for-sighted" %>
<%= select_tag("query[sort_criteria][#{i}][]",
options_for_select([[], [l(:label_ascending), 'asc'], [l(:label_descending), 'desc']], @query.sort_criteria_order(i)),
:id => "query_sort_criteria_direction_" + i.to_s) %>
<br />
Jean-Philippe Lang
Ability to save "sort order" in custom queries (#2899)....
r2504 <% end %>
</fieldset>
Jean-Philippe Lang
Adds dynamic columns selection on the issue list (#4272)....
r2991 <% content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
<legend><%= l(:field_column_names) %></legend>
Jean-Philippe Lang
Custom query columns: checkboxes replaced by two selects that let the user specify columns order....
r773 <%= render :partial => 'queries/columns', :locals => {:query => query}%>
Jean-Philippe Lang
Adds dynamic columns selection on the issue list (#4272)....
r2991 <% end %>
Jean-Philippe Lang
"queries" branch merged...
r92 </div>