##// END OF EJS Templates
Don't require category or target version when they are not available (#20583)....
Don't require category or target version when they are not available (#20583). git-svn-id: http://svn.redmine.org/redmine/trunk@14733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13366:c886ffe200a4
r14351:68620da79ab5
Show More
edit.html.erb
75 lines | 3.2 KiB | text/plain | TextLexer
Jean-Philippe Lang
Adds workflow copy functionality (#1727)....
r3040 <%= render :partial => 'action_menu' %>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912
Jean-Philippe Lang
Adds missing html titles (#14517)....
r11820 <%= title l(:label_workflow) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <div class="tabs">
<ul>
Jean-Philippe Lang
Bulk edit workflows for multiple trackers/roles (#16164)....
r12649 <li><%= link_to l(:label_status_transitions), workflows_edit_path(:role_id => @roles, :tracker_id => @trackers), :class => 'selected' %></li>
<li><%= link_to l(:label_fields_permissions), workflows_permissions_path(:role_id => @roles, :tracker_id => @trackers) %></li>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 </ul>
</div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><%=l(:text_workflow_edit)%>:</p>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({}, :method => 'get') do %>
Jean-Philippe Lang
Cleaning workflow edit view....
r3033 <p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7565 <label><%=l(:label_role)%>:
Jean-Philippe Lang
Don't show roles without issue add/edit permission in workflow setup (#15988)....
r13366 <%= options_for_workflow_select 'role_id[]', Role.sorted.select(&:consider_workflow?), @roles, :id => 'role_id', :class => 'expandable' %>
Jean-Philippe Lang
Bulk edit workflows for multiple trackers/roles (#16164)....
r12649 </label>
<a href="#" data-expands="#role_id"><%= image_tag 'bullet_toggle_plus.png' %></a>
Jean-Philippe Lang
Cleaning workflow edit view....
r3033
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7565 <label><%=l(:label_tracker)%>:
Jean-Philippe Lang
Bulk edit workflows for multiple trackers/roles (#16164)....
r12649 <%= options_for_workflow_select 'tracker_id[]', Tracker.sorted, @trackers, :id => 'tracker_id', :class => 'expandable' %>
</label>
<a href="#" data-expands="#tracker_id"><%= image_tag 'bullet_toggle_plus.png' %></a>
Toshi MARUYAMA
remove trailing white-spaces from app/views/workflows/edit.rhtml....
r6560
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <%= submit_tag l(:button_edit), :name => nil %>
Jean-Philippe Lang
Removed duplicate element ids....
r13262 <%= hidden_field_tag 'used_statuses_only', '0', :id => nil %>
Jean-Philippe Lang
By default, only show statuses that are used by the tracker on the workflow edit view....
r3074 <label><%= check_box_tag 'used_statuses_only', '1', @used_statuses_only %> <%= l(:label_display_used_statuses_only) %></label>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </p>
<% end %>
Jean-Philippe Lang
Bulk edit workflows for multiple trackers/roles (#16164)....
r12649 <% if @trackers && @roles && @statuses.any? %>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({}, :id => 'workflow_form' ) do %>
Jean-Philippe Lang
Removed duplicate element ids....
r13262 <%= @trackers.map {|tracker| hidden_field_tag 'tracker_id[]', tracker.id, :id => nil}.join.html_safe %>
<%= @roles.map {|role| hidden_field_tag 'role_id[]', role.id, :id => nil}.join.html_safe %>
<%= hidden_field_tag 'used_statuses_only', params[:used_statuses_only], :id => nil %>
Jean-Philippe Lang
Allow additional workflow transitions for issue author and assignee (#2732)....
r4775 <div class="autoscroll">
<%= render :partial => 'form', :locals => {:name => 'always', :workflows => @workflows['always']} %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/workflows/edit.rhtml....
r6560
Jean-Philippe Lang
Allow additional workflow transitions for issue author and assignee (#2732)....
r4775 <fieldset class="collapsible" style="padding: 0; margin-top: 0.5em;">
Jean-Philippe Lang
Removed hard coded french strings (#8020)....
r5144 <legend onclick="toggleFieldset(this);"><%= l(:label_additional_workflow_transitions_for_author) %></legend>
Jean-Philippe Lang
Allow additional workflow transitions for issue author and assignee (#2732)....
r4775 <div id="author_workflows" style="margin: 0.5em 0 0.5em 0;">
<%= render :partial => 'form', :locals => {:name => 'author', :workflows => @workflows['author']} %>
</div>
</fieldset>
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 <%= javascript_tag "hideFieldset($('#author_workflows'))" unless @workflows['author'].present? %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/workflows/edit.rhtml....
r6560
Jean-Philippe Lang
Allow additional workflow transitions for issue author and assignee (#2732)....
r4775 <fieldset class="collapsible" style="padding: 0;">
Jean-Philippe Lang
Removed hard coded french strings (#8020)....
r5144 <legend onclick="toggleFieldset(this);"><%= l(:label_additional_workflow_transitions_for_assignee) %></legend>
Jean-Philippe Lang
Allow additional workflow transitions for issue author and assignee (#2732)....
r4775 <div id="assignee_workflows" style="margin: 0.5em 0 0.5em 0;">
<%= render :partial => 'form', :locals => {:name => 'assignee', :workflows => @workflows['assignee']} %>
</div>
</fieldset>
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 <%= javascript_tag "hideFieldset($('#assignee_workflows'))" unless @workflows['assignee'].present? %>
Jean-Philippe Lang
Allow additional workflow transitions for issue author and assignee (#2732)....
r4775 </div>
<%= submit_tag l(:button_save) %>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
Jean-Philippe Lang
Bulk edit workflows for multiple trackers/roles (#16164)....
r12649
<%= javascript_tag do %>
$("a[data-expands]").click(function(e){
e.preventDefault();
var target = $($(this).attr("data-expands"));
if (target.attr("multiple")) {
target.attr("multiple", false);
target.find("option[value=all]").show();
} else {
target.attr("multiple", true);
target.find("option[value=all]").attr("selected", false).hide();
}
});
<% end %>