Patch #28662 » 0001-Replace-cancel-button-with-cancel-link-in-modals.patch
app/views/groups/_new_users_modal.html.erb | ||
---|---|---|
4 | 4 |
<%= render :partial => 'new_users_form' %> |
5 | 5 |
<p class="buttons"> |
6 | 6 |
<%= submit_tag l(:button_add) %> |
7 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
|
|
7 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
8 | 8 |
</p> |
9 | 9 |
<% end %> |
app/views/issue_categories/_new_modal.html.erb | ||
---|---|---|
4 | 4 |
<%= render :partial => 'issue_categories/form', :locals => { :f => f } %> |
5 | 5 |
<p class="buttons"> |
6 | 6 |
<%= submit_tag l(:button_create), :name => nil %> |
7 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
|
|
7 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
8 | 8 |
</p> |
9 | 9 |
<% end %> |
app/views/issues/index.html.erb | ||
---|---|---|
46 | 46 |
<% end %> |
47 | 47 |
<p class="buttons"> |
48 | 48 |
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %> |
49 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button', :data => { :disable_with => false } %>
|
|
49 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
50 | 50 |
</p> |
51 | 51 |
<% end %> |
52 | 52 |
</div> |
app/views/members/_new_modal.html.erb | ||
---|---|---|
4 | 4 |
<%= render :partial => 'new_form' %> |
5 | 5 |
<p class="buttons"> |
6 | 6 |
<%= submit_tag l(:button_add), :id => 'member-add-submit' %> |
7 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
|
|
7 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
8 | 8 |
</p> |
9 | 9 |
<% end %> |
app/views/principal_memberships/_new_modal.html.erb | ||
---|---|---|
4 | 4 |
<%= render :partial => 'new_form' %> |
5 | 5 |
<p class="buttons"> |
6 | 6 |
<%= submit_tag l(:button_add), :name => nil %> |
7 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
|
|
7 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
8 | 8 |
</p> |
9 | 9 |
<% end %> |
app/views/sudo_mode/_new_modal.html.erb | ||
---|---|---|
13 | 13 | |
14 | 14 |
<p class="buttons"> |
15 | 15 |
<%= submit_tag l(:button_submit), onclick: "hideModal(this);" %> |
16 |
<%= submit_tag l(:button_cancel), name: nil, onclick: "hideModal(this);", type: 'button' %>
|
|
16 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
17 | 17 |
</p> |
18 | 18 |
<% end %> |
app/views/timelog/index.html.erb | ||
---|---|---|
34 | 34 |
<%= export_csv_encoding_select_tag %> |
35 | 35 |
<p class="buttons"> |
36 | 36 |
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %> |
37 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button', :data => { :disable_with => false } %>
|
|
37 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
38 | 38 |
</p> |
39 | 39 |
<% end %> |
40 | 40 |
</div> |
app/views/versions/_new_modal.html.erb | ||
---|---|---|
4 | 4 |
<%= render :partial => 'versions/form', :locals => { :f => f } %> |
5 | 5 |
<p class="buttons"> |
6 | 6 |
<%= submit_tag l(:button_create), :name => nil %> |
7 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
|
|
7 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
8 | 8 |
</p> |
9 | 9 |
<% end %> |
app/views/watchers/_new.html.erb | ||
---|---|---|
26 | 26 | |
27 | 27 |
<p class="buttons"> |
28 | 28 |
<%= submit_tag l(:button_add), :name => nil, :onclick => "hideModal(this);" %> |
29 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
|
|
29 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
30 | 30 |
</p> |
31 | 31 |
<% end %> |
app/views/wiki/_new_modal.html.erb | ||
---|---|---|
24 | 24 | |
25 | 25 |
<p class="buttons"> |
26 | 26 |
<%= submit_tag l(:label_next), :name => nil %> |
27 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
|
|
27 |
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
|
28 | 28 |
</p> |
29 | 29 |
<% end %> |
- « Previous
- 1
- 2
- 3
- Next »