##// END OF EJS Templates
Slight changes to the activity view....
Slight changes to the activity view. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1120 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1019:3e0acc0b7e1f
r1106:80a60247f527
Show More
workflow.rhtml
58 lines | 1.7 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
Performance improvement on workflow setup screen....
r944 <td><%= old_status.name %></td>
<% new_status_ids_allowed = old_status.find_new_statuses_allowed_to(@role, @tracker).collect(&:id) -%>
<% for new_status in @statuses -%>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <td align="center">
Jean-Philippe Lang
Performance improvement on workflow setup screen....
r944 <input type="checkbox"
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 name="issue_status[<%= old_status.id %>][]"
value="<%= new_status.id %>"
Jean-Philippe Lang
Performance improvement on workflow setup screen....
r944 <%= 'checked="checked"' if new_status_ids_allowed.include? new_status.id %>>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </td>
Jean-Philippe Lang
Performance improvement on workflow setup screen....
r944 <% end -%>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </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 %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_workflow)) -%>