Revision 441:cbce1fd3b1b7 app/views/settings
| app/views/settings/.svn/all-wcprops | ||
|---|---|---|
| 1 |
K 25 |
|
| 2 |
svn:wc:ra_dav:version-url |
|
| 3 |
V 43 |
|
| 4 |
/svn/!svn/ver/4983/trunk/app/views/settings |
|
| 5 |
END |
|
| 6 |
_issues.rhtml |
|
| 7 | 1 |
K 25 |
| 8 | 2 |
svn:wc:ra_dav:version-url |
| 9 | 3 |
V 57 |
| 10 |
/svn/!svn/ver/4513/trunk/app/views/settings/_issues.rhtml
|
|
| 4 |
/svn/!svn/ver/5961/branches/1.2-stable/app/views/settings
|
|
| 11 | 5 |
END |
| 12 |
_general.rhtml |
|
| 13 |
K 25 |
|
| 14 |
svn:wc:ra_dav:version-url |
|
| 15 |
V 58 |
|
| 16 |
/svn/!svn/ver/4426/trunk/app/views/settings/_general.rhtml |
|
| 17 |
END |
|
| 18 |
_authentication.rhtml |
|
| 19 |
K 25 |
|
| 20 |
svn:wc:ra_dav:version-url |
|
| 21 |
V 65 |
|
| 22 |
/svn/!svn/ver/4306/trunk/app/views/settings/_authentication.rhtml |
|
| 23 |
END |
|
| 24 |
_mail_handler.rhtml |
|
| 25 |
K 25 |
|
| 26 |
svn:wc:ra_dav:version-url |
|
| 27 |
V 63 |
|
| 28 |
/svn/!svn/ver/3226/trunk/app/views/settings/_mail_handler.rhtml |
|
| 29 |
END |
|
| 30 |
plugin.rhtml |
|
| 31 |
K 25 |
|
| 32 |
svn:wc:ra_dav:version-url |
|
| 33 |
V 55 |
|
| 34 |
/svn/!svn/ver/837/trunk/app/views/settings/plugin.rhtml |
|
| 35 |
END |
|
| 36 |
_display.rhtml |
|
| 37 |
K 25 |
|
| 38 |
svn:wc:ra_dav:version-url |
|
| 39 |
V 58 |
|
| 40 |
/svn/!svn/ver/4811/trunk/app/views/settings/_display.rhtml |
|
| 41 |
END |
|
| 42 |
edit.rhtml |
|
| 43 |
K 25 |
|
| 44 |
svn:wc:ra_dav:version-url |
|
| 45 |
V 54 |
|
| 46 |
/svn/!svn/ver/2871/trunk/app/views/settings/edit.rhtml |
|
| 47 |
END |
|
| 48 |
_repositories.rhtml |
|
| 49 |
K 25 |
|
| 50 |
svn:wc:ra_dav:version-url |
|
| 51 |
V 63 |
|
| 52 |
/svn/!svn/ver/4983/trunk/app/views/settings/_repositories.rhtml |
|
| 53 |
END |
|
| 54 |
_notifications.rhtml |
|
| 55 |
K 25 |
|
| 56 |
svn:wc:ra_dav:version-url |
|
| 57 |
V 64 |
|
| 58 |
/svn/!svn/ver/4730/trunk/app/views/settings/_notifications.rhtml |
|
| 59 |
END |
|
| 60 |
_projects.rhtml |
|
| 61 |
K 25 |
|
| 62 |
svn:wc:ra_dav:version-url |
|
| 63 |
V 59 |
|
| 64 |
/svn/!svn/ver/3198/trunk/app/views/settings/_projects.rhtml |
|
| 65 |
END |
|
| app/views/settings/.svn/entries | ||
|---|---|---|
| 1 | 1 |
10 |
| 2 | 2 |
|
| 3 | 3 |
dir |
| 4 |
4993
|
|
| 5 |
http://redmine.rubyforge.org/svn/trunk/app/views/settings
|
|
| 4 |
6000
|
|
| 5 |
http://redmine.rubyforge.org/svn/branches/1.2-stable/app/views/settings
|
|
| 6 | 6 |
http://redmine.rubyforge.org/svn |
| 7 | 7 |
|
| 8 | 8 |
|
| 9 | 9 |
|
| 10 |
2011-03-01T10:27:51.597350Z
|
|
| 11 |
4983
|
|
| 12 |
tmaruyama
|
|
| 10 |
2011-05-29T12:06:05.086159Z
|
|
| 11 |
5961
|
|
| 12 |
jplang
|
|
| 13 | 13 |
|
| 14 | 14 |
|
| 15 | 15 |
|
| ... | ... | |
| 32 | 32 |
|
| 33 | 33 |
|
| 34 | 34 |
|
| 35 |
2011-03-03T11:05:10.000000Z
|
|
| 35 |
2011-06-06T13:14:59.000000Z
|
|
| 36 | 36 |
dad877e4db2f583979314edcb017bb1b |
| 37 | 37 |
2010-12-15T21:18:06.237327Z |
| 38 | 38 |
4513 |
| ... | ... | |
| 66 | 66 |
|
| 67 | 67 |
|
| 68 | 68 |
|
| 69 |
2011-03-03T11:05:10.000000Z
|
|
| 69 |
2011-06-06T13:14:59.000000Z
|
|
| 70 | 70 |
7307d5f65399ab2f28eac1162a330678 |
| 71 | 71 |
2010-11-25T20:27:44.648840Z |
| 72 | 72 |
4426 |
| ... | ... | |
| 100 | 100 |
|
| 101 | 101 |
|
| 102 | 102 |
|
| 103 |
2011-03-03T11:05:10.000000Z
|
|
| 103 |
2011-06-06T13:14:59.000000Z
|
|
| 104 | 104 |
8005b162966a27cd4e7c30022320b47e |
| 105 | 105 |
2010-10-29T22:28:24.886659Z |
| 106 | 106 |
4306 |
| ... | ... | |
| 134 | 134 |
|
| 135 | 135 |
|
| 136 | 136 |
|
| 137 |
2011-03-03T11:05:10.000000Z
|
|
| 137 |
2011-06-06T13:14:59.000000Z
|
|
| 138 | 138 |
1da887b84f272fe4cde6fafaf198529a |
| 139 | 139 |
2009-12-23T18:35:19.208194Z |
| 140 | 140 |
3226 |
| ... | ... | |
| 168 | 168 |
|
| 169 | 169 |
|
| 170 | 170 |
|
| 171 |
2011-03-03T11:05:10.000000Z
|
|
| 171 |
2011-06-06T13:14:59.000000Z
|
|
| 172 | 172 |
1836fa87f24f7f62eafaed8d1886ca67 |
| 173 | 173 |
2007-10-13T14:11:06.987513Z |
| 174 | 174 |
837 |
| ... | ... | |
| 202 | 202 |
|
| 203 | 203 |
|
| 204 | 204 |
|
| 205 |
2011-03-03T11:40:18.000000Z
|
|
| 206 |
55169c45bb26caf3ff0c92c5b07d7bbe
|
|
| 207 |
2011-02-12T08:16:37.660908Z
|
|
| 208 |
4811
|
|
| 209 |
jbbarth
|
|
| 205 |
2011-06-06T13:18:33.000000Z
|
|
| 206 |
73c09bb702e614c89ef409043dc16705
|
|
| 207 |
2011-03-27T15:43:26.269165Z
|
|
| 208 |
5228
|
|
| 209 |
jplang
|
|
| 210 | 210 |
has-props |
| 211 | 211 |
|
| 212 | 212 |
|
| ... | ... | |
| 228 | 228 |
|
| 229 | 229 |
|
| 230 | 230 |
|
| 231 |
1061
|
|
| 231 |
1103
|
|
| 232 | 232 |
|
| 233 | 233 |
edit.rhtml |
| 234 | 234 |
file |
| ... | ... | |
| 236 | 236 |
|
| 237 | 237 |
|
| 238 | 238 |
|
| 239 |
2011-03-03T11:05:10.000000Z
|
|
| 239 |
2011-06-06T13:14:59.000000Z
|
|
| 240 | 240 |
a629426fc7edef8be6c4545bce9a5abd |
| 241 | 241 |
2009-09-12T09:13:13.676884Z |
| 242 | 242 |
2871 |
| ... | ... | |
| 270 | 270 |
|
| 271 | 271 |
|
| 272 | 272 |
|
| 273 |
2011-03-03T11:40:18.000000Z
|
|
| 274 |
7bc500aa382125fa379e7539d4566431
|
|
| 275 |
2011-03-01T10:27:51.597350Z
|
|
| 276 |
4983
|
|
| 277 |
tmaruyama
|
|
| 273 |
2011-06-06T13:18:33.000000Z
|
|
| 274 |
0bda809a3ce939512e85eb5c5a58162d
|
|
| 275 |
2011-05-29T12:06:05.086159Z
|
|
| 276 |
5961
|
|
| 277 |
jplang
|
|
| 278 | 278 |
has-props |
| 279 | 279 |
|
| 280 | 280 |
|
| ... | ... | |
| 296 | 296 |
|
| 297 | 297 |
|
| 298 | 298 |
|
| 299 |
2231
|
|
| 299 |
3964
|
|
| 300 | 300 |
|
| 301 | 301 |
_notifications.rhtml |
| 302 | 302 |
file |
| ... | ... | |
| 304 | 304 |
|
| 305 | 305 |
|
| 306 | 306 |
|
| 307 |
2011-03-03T11:05:10.000000Z
|
|
| 307 |
2011-06-06T13:14:59.000000Z
|
|
| 308 | 308 |
9f784c1426ed466df89a56d5ae835efe |
| 309 | 309 |
2011-01-16T15:36:42.998302Z |
| 310 | 310 |
4730 |
| ... | ... | |
| 338 | 338 |
|
| 339 | 339 |
|
| 340 | 340 |
|
| 341 |
2011-03-03T11:05:10.000000Z
|
|
| 341 |
2011-06-06T13:14:59.000000Z
|
|
| 342 | 342 |
de489dd7dc60d569a855c1f33d941552 |
| 343 | 343 |
2009-12-19T20:07:09.039389Z |
| 344 | 344 |
3198 |
| app/views/settings/.svn/text-base/_display.rhtml.svn-base | ||
|---|---|---|
| 5 | 5 |
|
| 6 | 6 |
<p><%= setting_select :default_language, lang_options_for_select(false) %></p> |
| 7 | 7 |
|
| 8 |
<p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(7),'7']], :blank => :label_language_based %></p> |
|
| 8 |
<p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(6),'6'], [day_name(7),'7']], :blank => :label_language_based %></p>
|
|
| 9 | 9 |
|
| 10 | 10 |
<p><%= setting_select :date_format, Setting::DATE_FORMATS.collect {|f| [Date.today.strftime(f), f]}, :blank => :label_language_based %></p>
|
| 11 | 11 |
|
| ... | ... | |
| 15 | 15 |
|
| 16 | 16 |
<p><%= setting_check_box :gravatar_enabled %></p> |
| 17 | 17 |
|
| 18 |
<p><%= setting_select :gravatar_default, [["Wavatars", 'wavatar'], ["Identicons", 'identicon'], ["Monster ids", 'monsterid'], ["Retro", "retro"]], :blank => :label_none %></p>
|
|
| 18 |
<p><%= setting_select :gravatar_default, [["Wavatars", 'wavatar'], ["Identicons", 'identicon'], ["Monster ids", 'monsterid'], ["Retro", 'retro'], ["Mystery man", 'mm']], :blank => :label_none %></p>
|
|
| 19 | 19 |
</div> |
| 20 | 20 |
|
| 21 | 21 |
<%= submit_tag l(:button_save) %> |
| app/views/settings/.svn/text-base/_repositories.rhtml.svn-base | ||
|---|---|---|
| 1 | 1 |
<% form_tag({:action => 'edit', :tab => 'repositories'}) do %>
|
| 2 | 2 |
|
| 3 |
<fieldset class="box tabular settings enabled_scm"> |
|
| 4 |
<legend><%= l(:setting_enabled_scm) %></legend> |
|
| 5 |
<table> |
|
| 6 |
<tr> |
|
| 7 |
<th></th> |
|
| 8 |
<th><%= l(:text_scm_command) %></th> |
|
| 9 |
<th><%= l(:text_scm_command_version) %></th> |
|
| 10 |
</tr> |
|
| 11 |
<% Redmine::Scm::Base.all.collect do |choice| %> |
|
| 12 |
<% scm_class = "Repository::#{choice}".constantize %>
|
|
| 13 |
<% text, value = (choice.is_a?(Array) ? choice : [choice, choice]) %> |
|
| 14 |
<% setting = :enabled_scm %> |
|
| 15 |
<tr> |
|
| 16 |
<td class="scm_name"> |
|
| 17 |
<%= |
|
| 18 |
check_box_tag( |
|
| 19 |
"settings[#{setting}][]",
|
|
| 20 |
value, |
|
| 21 |
Setting.send(setting).include?(value)) |
|
| 22 |
%> |
|
| 23 |
<%= text.to_s %> |
|
| 24 |
</td> |
|
| 25 |
<td> |
|
| 26 |
<%= |
|
| 27 |
image_tag( |
|
| 28 |
(scm_class.scm_available ? 'true.png' : 'exclamation.png'), |
|
| 29 |
:style => "vertical-align:bottom;" |
|
| 30 |
) |
|
| 31 |
%> |
|
| 32 |
<%= scm_class.scm_command %> |
|
| 33 |
</td> |
|
| 34 |
<td> |
|
| 35 |
<%= scm_class.scm_version_string %> |
|
| 36 |
</td> |
|
| 37 |
</tr> |
|
| 38 |
<% end %> |
|
| 39 |
</table> |
|
| 40 |
<p class="scm_config"> |
|
| 41 |
<%= l(:text_scm_config) %> |
|
| 42 |
</p> |
|
| 43 |
</fieldset> |
|
| 44 |
|
|
| 3 | 45 |
<div class="box tabular settings"> |
| 4 | 46 |
<p><%= setting_check_box :autofetch_changesets %></p> |
| 5 | 47 |
|
| 6 |
<p><%= setting_check_box :sys_api_enabled, |
|
| 7 |
:onclick => "if (this.checked) { Form.Element.enable('settings_sys_api_key'); } else { Form.Element.disable('settings_sys_api_key'); }" %></p>
|
|
| 48 |
<p><%= setting_check_box :sys_api_enabled, |
|
| 49 |
:onclick => |
|
| 50 |
"if (this.checked) { Form.Element.enable('settings_sys_api_key'); } else { Form.Element.disable('settings_sys_api_key'); }" %></p>
|
|
| 8 | 51 |
|
| 9 |
<p><%= setting_text_field :sys_api_key, :size => 30, |
|
| 10 |
:id => 'settings_sys_api_key', |
|
| 11 |
:disabled => !Setting.sys_api_enabled?, |
|
| 12 |
:label => :setting_mail_handler_api_key %> |
|
| 13 |
<%= link_to_function l(:label_generate_key), "if ($('settings_sys_api_key').disabled == false) { $('settings_sys_api_key').value = randomKey(20) }" %>
|
|
| 52 |
<p><%= setting_text_field :sys_api_key, |
|
| 53 |
:size => 30, |
|
| 54 |
:id => 'settings_sys_api_key', |
|
| 55 |
:disabled => !Setting.sys_api_enabled?, |
|
| 56 |
:label => :setting_mail_handler_api_key %> |
|
| 57 |
<%= link_to_function l(:label_generate_key), |
|
| 58 |
"if ($('settings_sys_api_key').disabled == false) { $('settings_sys_api_key').value = randomKey(20) }" %>
|
|
| 14 | 59 |
</p> |
| 15 | 60 |
|
| 16 |
<p><%= setting_multiselect(:enabled_scm, Redmine::Scm::Base.all) %></p> |
|
| 17 |
|
|
| 18 | 61 |
<p><%= setting_text_field :repositories_encodings, :size => 60 %><br /> |
| 19 | 62 |
<em><%= l(:text_comma_separated) %></em></p> |
| 20 | 63 |
|
| 21 | 64 |
<p><%= setting_text_field :repository_log_display_limit, :size => 6 %></p> |
| 22 | 65 |
</div> |
| 23 | 66 |
|
| 24 |
<fieldset class="box tabular settings"><legend><%= l(:text_issues_ref_in_commit_messages) %></legend> |
|
| 67 |
<fieldset class="box tabular settings"> |
|
| 68 |
<legend><%= l(:text_issues_ref_in_commit_messages) %></legend> |
|
| 25 | 69 |
<p><%= setting_text_field :commit_ref_keywords, :size => 30 %><br /> |
| 26 | 70 |
<em><%= l(:text_comma_separated) %></em></p> |
| 27 | 71 |
|
| 28 | 72 |
<p><%= setting_text_field :commit_fix_keywords, :size => 30 %> |
| 29 |
<%= l(:label_applied_status) %>: <%= setting_select :commit_fix_status_id, [["", 0]] + IssueStatus.find(:all).collect{|status| [status.name, status.id.to_s]}, :label => false %>
|
|
| 30 |
<%= l(:field_done_ratio) %>: <%= setting_select :commit_fix_done_ratio, (0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }, :blank => :label_no_change_option, :label => false %>
|
|
| 73 |
<%= l(:label_applied_status) %>: <%= setting_select :commit_fix_status_id, |
|
| 74 |
[["", 0]] + |
|
| 75 |
IssueStatus.find(:all).collect{
|
|
| 76 |
|status| [status.name, status.id.to_s] |
|
| 77 |
}, |
|
| 78 |
:label => false %> |
|
| 79 |
<%= l(:field_done_ratio) %>: <%= setting_select :commit_fix_done_ratio, |
|
| 80 |
(0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] },
|
|
| 81 |
:blank => :label_no_change_option, |
|
| 82 |
:label => false %> |
|
| 31 | 83 |
<br /><em><%= l(:text_comma_separated) %></em></p> |
| 32 | 84 |
|
| 33 | 85 |
<p><%= setting_check_box :commit_logtime_enabled, |
| 34 |
:onclick => "if (this.checked) { Form.Element.enable('settings_commit_logtime_activity_id'); } else { Form.Element.disable('settings_commit_logtime_activity_id'); }"%></p>
|
|
| 86 |
:onclick => |
|
| 87 |
"if (this.checked) { Form.Element.enable('settings_commit_logtime_activity_id'); } else { Form.Element.disable('settings_commit_logtime_activity_id'); }"%></p>
|
|
| 35 | 88 |
|
| 36 |
<p><%= setting_select :commit_logtime_activity_id, |
|
| 37 |
[[l(:label_default), 0]] + TimeEntryActivity.shared.all.collect{|activity| [activity.name, activity.id.to_s]},
|
|
| 38 |
:disabled => !Setting.commit_logtime_enabled?%></p> |
|
| 89 |
<p><%= setting_select :commit_logtime_activity_id, |
|
| 90 |
[[l(:label_default), 0]] + |
|
| 91 |
TimeEntryActivity.shared.all.collect{|activity| [activity.name, activity.id.to_s]},
|
|
| 92 |
:disabled => !Setting.commit_logtime_enabled?%></p> |
|
| 39 | 93 |
</fieldset> |
| 40 | 94 |
|
| 41 | 95 |
<%= submit_tag l(:button_save) %> |
| app/views/settings/_display.rhtml | ||
|---|---|---|
| 5 | 5 |
|
| 6 | 6 |
<p><%= setting_select :default_language, lang_options_for_select(false) %></p> |
| 7 | 7 |
|
| 8 |
<p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(7),'7']], :blank => :label_language_based %></p> |
|
| 8 |
<p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(6),'6'], [day_name(7),'7']], :blank => :label_language_based %></p>
|
|
| 9 | 9 |
|
| 10 | 10 |
<p><%= setting_select :date_format, Setting::DATE_FORMATS.collect {|f| [Date.today.strftime(f), f]}, :blank => :label_language_based %></p>
|
| 11 | 11 |
|
| ... | ... | |
| 15 | 15 |
|
| 16 | 16 |
<p><%= setting_check_box :gravatar_enabled %></p> |
| 17 | 17 |
|
| 18 |
<p><%= setting_select :gravatar_default, [["Wavatars", 'wavatar'], ["Identicons", 'identicon'], ["Monster ids", 'monsterid'], ["Retro", "retro"]], :blank => :label_none %></p>
|
|
| 18 |
<p><%= setting_select :gravatar_default, [["Wavatars", 'wavatar'], ["Identicons", 'identicon'], ["Monster ids", 'monsterid'], ["Retro", 'retro'], ["Mystery man", 'mm']], :blank => :label_none %></p>
|
|
| 19 | 19 |
</div> |
| 20 | 20 |
|
| 21 | 21 |
<%= submit_tag l(:button_save) %> |
| app/views/settings/_repositories.rhtml | ||
|---|---|---|
| 1 | 1 |
<% form_tag({:action => 'edit', :tab => 'repositories'}) do %>
|
| 2 | 2 |
|
| 3 |
<fieldset class="box tabular settings enabled_scm"> |
|
| 4 |
<legend><%= l(:setting_enabled_scm) %></legend> |
|
| 5 |
<table> |
|
| 6 |
<tr> |
|
| 7 |
<th></th> |
|
| 8 |
<th><%= l(:text_scm_command) %></th> |
|
| 9 |
<th><%= l(:text_scm_command_version) %></th> |
|
| 10 |
</tr> |
|
| 11 |
<% Redmine::Scm::Base.all.collect do |choice| %> |
|
| 12 |
<% scm_class = "Repository::#{choice}".constantize %>
|
|
| 13 |
<% text, value = (choice.is_a?(Array) ? choice : [choice, choice]) %> |
|
| 14 |
<% setting = :enabled_scm %> |
|
| 15 |
<tr> |
|
| 16 |
<td class="scm_name"> |
|
| 17 |
<%= |
|
| 18 |
check_box_tag( |
|
| 19 |
"settings[#{setting}][]",
|
|
| 20 |
value, |
|
| 21 |
Setting.send(setting).include?(value)) |
|
| 22 |
%> |
|
| 23 |
<%= text.to_s %> |
|
| 24 |
</td> |
|
| 25 |
<td> |
|
| 26 |
<%= |
|
| 27 |
image_tag( |
|
| 28 |
(scm_class.scm_available ? 'true.png' : 'exclamation.png'), |
|
| 29 |
:style => "vertical-align:bottom;" |
|
| 30 |
) |
|
| 31 |
%> |
|
| 32 |
<%= scm_class.scm_command %> |
|
| 33 |
</td> |
|
| 34 |
<td> |
|
| 35 |
<%= scm_class.scm_version_string %> |
|
| 36 |
</td> |
|
| 37 |
</tr> |
|
| 38 |
<% end %> |
|
| 39 |
</table> |
|
| 40 |
<p class="scm_config"> |
|
| 41 |
<%= l(:text_scm_config) %> |
|
| 42 |
</p> |
|
| 43 |
</fieldset> |
|
| 44 |
|
|
| 3 | 45 |
<div class="box tabular settings"> |
| 4 | 46 |
<p><%= setting_check_box :autofetch_changesets %></p> |
| 5 | 47 |
|
| 6 |
<p><%= setting_check_box :sys_api_enabled, |
|
| 7 |
:onclick => "if (this.checked) { Form.Element.enable('settings_sys_api_key'); } else { Form.Element.disable('settings_sys_api_key'); }" %></p>
|
|
| 48 |
<p><%= setting_check_box :sys_api_enabled, |
|
| 49 |
:onclick => |
|
| 50 |
"if (this.checked) { Form.Element.enable('settings_sys_api_key'); } else { Form.Element.disable('settings_sys_api_key'); }" %></p>
|
|
| 8 | 51 |
|
| 9 |
<p><%= setting_text_field :sys_api_key, :size => 30, |
|
| 10 |
:id => 'settings_sys_api_key', |
|
| 11 |
:disabled => !Setting.sys_api_enabled?, |
|
| 12 |
:label => :setting_mail_handler_api_key %> |
|
| 13 |
<%= link_to_function l(:label_generate_key), "if ($('settings_sys_api_key').disabled == false) { $('settings_sys_api_key').value = randomKey(20) }" %>
|
|
| 52 |
<p><%= setting_text_field :sys_api_key, |
|
| 53 |
:size => 30, |
|
| 54 |
:id => 'settings_sys_api_key', |
|
| 55 |
:disabled => !Setting.sys_api_enabled?, |
|
| 56 |
:label => :setting_mail_handler_api_key %> |
|
| 57 |
<%= link_to_function l(:label_generate_key), |
|
| 58 |
"if ($('settings_sys_api_key').disabled == false) { $('settings_sys_api_key').value = randomKey(20) }" %>
|
|
| 14 | 59 |
</p> |
| 15 | 60 |
|
| 16 |
<p><%= setting_multiselect(:enabled_scm, Redmine::Scm::Base.all) %></p> |
|
| 17 |
|
|
| 18 | 61 |
<p><%= setting_text_field :repositories_encodings, :size => 60 %><br /> |
| 19 | 62 |
<em><%= l(:text_comma_separated) %></em></p> |
| 20 | 63 |
|
| 21 | 64 |
<p><%= setting_text_field :repository_log_display_limit, :size => 6 %></p> |
| 22 | 65 |
</div> |
| 23 | 66 |
|
| 24 |
<fieldset class="box tabular settings"><legend><%= l(:text_issues_ref_in_commit_messages) %></legend> |
|
| 67 |
<fieldset class="box tabular settings"> |
|
| 68 |
<legend><%= l(:text_issues_ref_in_commit_messages) %></legend> |
|
| 25 | 69 |
<p><%= setting_text_field :commit_ref_keywords, :size => 30 %><br /> |
| 26 | 70 |
<em><%= l(:text_comma_separated) %></em></p> |
| 27 | 71 |
|
| 28 | 72 |
<p><%= setting_text_field :commit_fix_keywords, :size => 30 %> |
| 29 |
<%= l(:label_applied_status) %>: <%= setting_select :commit_fix_status_id, [["", 0]] + IssueStatus.find(:all).collect{|status| [status.name, status.id.to_s]}, :label => false %>
|
|
| 30 |
<%= l(:field_done_ratio) %>: <%= setting_select :commit_fix_done_ratio, (0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }, :blank => :label_no_change_option, :label => false %>
|
|
| 73 |
<%= l(:label_applied_status) %>: <%= setting_select :commit_fix_status_id, |
|
| 74 |
[["", 0]] + |
|
| 75 |
IssueStatus.find(:all).collect{
|
|
| 76 |
|status| [status.name, status.id.to_s] |
|
| 77 |
}, |
|
| 78 |
:label => false %> |
|
| 79 |
<%= l(:field_done_ratio) %>: <%= setting_select :commit_fix_done_ratio, |
|
| 80 |
(0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] },
|
|
| 81 |
:blank => :label_no_change_option, |
|
| 82 |
:label => false %> |
|
| 31 | 83 |
<br /><em><%= l(:text_comma_separated) %></em></p> |
| 32 | 84 |
|
| 33 | 85 |
<p><%= setting_check_box :commit_logtime_enabled, |
| 34 |
:onclick => "if (this.checked) { Form.Element.enable('settings_commit_logtime_activity_id'); } else { Form.Element.disable('settings_commit_logtime_activity_id'); }"%></p>
|
|
| 86 |
:onclick => |
|
| 87 |
"if (this.checked) { Form.Element.enable('settings_commit_logtime_activity_id'); } else { Form.Element.disable('settings_commit_logtime_activity_id'); }"%></p>
|
|
| 35 | 88 |
|
| 36 |
<p><%= setting_select :commit_logtime_activity_id, |
|
| 37 |
[[l(:label_default), 0]] + TimeEntryActivity.shared.all.collect{|activity| [activity.name, activity.id.to_s]},
|
|
| 38 |
:disabled => !Setting.commit_logtime_enabled?%></p> |
|
| 89 |
<p><%= setting_select :commit_logtime_activity_id, |
|
| 90 |
[[l(:label_default), 0]] + |
|
| 91 |
TimeEntryActivity.shared.all.collect{|activity| [activity.name, activity.id.to_s]},
|
|
| 92 |
:disabled => !Setting.commit_logtime_enabled?%></p> |
|
| 39 | 93 |
</fieldset> |
| 40 | 94 |
|
| 41 | 95 |
<%= submit_tag l(:button_save) %> |
Also available in: Unified diff