Feature #799 » back_to_issue_list_after_status_update.patch
app/views/issues/context_menu.rhtml (working copy) | ||
---|---|---|
6 | 6 |
<a href="#" class="submenu" onclick="return false;"><%= l(:field_status) %></a> |
7 | 7 |
<ul> |
8 | 8 |
<% @statuses.each do |s| -%> |
9 |
<li><%= context_menu_link s.name, {:controller => 'issues', :action => 'edit', :id => @issue, :issue => {:status_id => s}}, |
|
9 |
<li><%= context_menu_link s.name, {:controller => 'issues', :action => 'edit', :id => @issue, :issue => {:status_id => s}, :back_to => @back},
|
|
10 | 10 |
:selected => (s == @issue.status), :disabled => !(@can[:update] && @allowed_statuses.include?(s)) %></li> |
11 | 11 |
<% end -%> |
12 | 12 |
</ul> |
app/views/issues/_edit.rhtml (working copy) | ||
---|---|---|
35 | 35 |
<p><%=l(:label_attachment_plural)%><br /><%= render :partial => 'attachments/form' %></p> |
36 | 36 |
</fieldset> |
37 | 37 |
</div> |
38 |
|
|
38 | ||
39 |
<%= hidden_field_tag :back_to, params[:back_to] if params[:back_to] %> |
|
40 | ||
39 | 41 |
<%= f.hidden_field :lock_version %> |
40 | 42 |
<%= submit_tag l(:button_submit) %> |
41 | 43 |
<%= link_to_remote l(:label_preview), |
- « Previous
- 1
- 2
- Next »