Skip to content

Commit 2961593

Browse files
move the show url variable higher on the settings page so all the select boxes are together, and the variables users should be modifying regularly are all at the top of the page
1 parent 7b0693e commit 2961593

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

app/views/settings/_redmine_git_hosting.html.erb

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
<%= select_tag("settings[deleteGitRepositories]", options_for_select([[l(:label_enabled), 'true'], [l(:label_disabled), 'false']], @settings['deleteGitRepositories'])) %>
1111
<br />
1212
</p>
13+
<p>
14+
<label><%= l(:label_git_show_urls)%></label>
15+
<%= select_tag("settings[gitRepositoriesShowUrl]", options_for_select([[l(:label_enabled), 'true'], [l(:label_disabled), 'false']], @settings['gitRepositoriesShowUrl'])) %>
16+
<br />
17+
</p>
1318
<p>
1419
<label><%= l(:label_git_server)%></label>
1520
<%= text_field_tag("settings[gitServer]", @settings['gitServer'].split(/[\r\n\t ,;]+/).join("\n"), :size => 60) %>
@@ -42,11 +47,7 @@
4247
<%= text_field_tag("settings[gitRepositoryBasePath]", @settings['gitRepositoryBasePath'], :size => 60) %>
4348
<br />
4449
</p>
45-
<p>
46-
<label><%= l(:label_git_show_urls)%></label>
47-
<%= select_tag("settings[gitRepositoriesShowUrl]", options_for_select([[l(:label_enabled), 'true'], [l(:label_disabled), 'false']], @settings['gitRepositoriesShowUrl'])) %>
48-
<br />
49-
</p>
50+
5051

5152
<h3><%= l(:label_git_cache_parameters)%></h3>
5253
<p>

0 commit comments

Comments
 (0)