##// END OF EJS Templates
Diff style (inline or side by side) automatically saved as a user preference....
Diff style (inline or side by side) automatically saved as a user preference. Fixed a Postgres test failure. git-svn-id: http://redmine.rubyforge.org/svn/trunk@893 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r736:827e998afef3
r880:1454a711caf6
Show More
workflow.rhtml
58 lines | 1.6 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%=l(:label_workflow)%></h2>
<p><%=l(:text_workflow_edit)%>:</p>
Jean-Philippe Lang
Removed some parentheses before arguments....
r468 <% form_tag({:action => 'workflow'}, :method => 'get') do %>
Jean-Philippe Lang
Application layout refactored....
r736 <p><label for="role_id"><%=l(:label_role)%>:</label>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <select id="role_id" name="role_id">
<%= options_from_collection_for_select @roles, "id", "name", (@role.id unless @role.nil?) %>
Jean-Philippe Lang
Application layout refactored....
r736 </select>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Application layout refactored....
r736 <label for="tracker_id"><%=l(:label_tracker)%>:</label>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <select id="tracker_id" name="tracker_id">
<%= options_from_collection_for_select @trackers, "id", "name", (@tracker.id unless @tracker.nil?) %>
</select>
<%= submit_tag l(:button_edit) %>
</p>
<% end %>
<% unless @tracker.nil? or @role.nil? %>
Jean-Philippe Lang
Application layout refactored....
r736 <% form_tag({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) do %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="box">
<table>
<tr>
<td align="center"><strong><%=l(:label_current_status)%></strong></td>
<td align="center" colspan="<%= @statuses.length %>"><strong><%=l(:label_new_statuses_allowed)%></strong></td>
</tr>
<tr>
<td></td>
<% for new_status in @statuses %>
<td width="80" align="center"><%= new_status.name %></td>
<% end %>
</tr>
<% for old_status in @statuses %>
<tr>
Jean-Philippe Lang
Application layout refactored....
r736 <td><%= old_status.name %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% for new_status in @statuses %>
<td align="center">
<input type="checkbox"
name="issue_status[<%= old_status.id %>][]"
value="<%= new_status.id %>"
<%if old_status.new_statuses_allowed_to(@role, @tracker).include? new_status%>checked="checked"<%end%>
>
</td>
<% end %>
</tr>
<% end %>
</table>
Jean-Philippe Lang
Application layout refactored....
r736 <p><%= check_all_links 'workflow_form' %></p>
</div>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <%= submit_tag l(:button_save) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
<% end %>