Adds specific css class for information in forms.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8754 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b47c5af0b8
commit
e4ef0b04ef
|
@ -5,8 +5,8 @@
|
||||||
<% form_tag({:token => @token.value}) do %>
|
<% form_tag({:token => @token.value}) do %>
|
||||||
<div class="box tabular">
|
<div class="box tabular">
|
||||||
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
|
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
|
||||||
<%= password_field_tag 'new_password', nil, :size => 25 %><br />
|
<%= password_field_tag 'new_password', nil, :size => 25 %>
|
||||||
<em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
||||||
|
|
||||||
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
|
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
|
||||||
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
|
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
<% if @user.auth_source_id.nil? %>
|
<% if @user.auth_source_id.nil? %>
|
||||||
<p><%= f.text_field :login, :size => 25, :required => true %></p>
|
<p><%= f.text_field :login, :size => 25, :required => true %></p>
|
||||||
|
|
||||||
<p><%= f.password_field :password, :size => 25, :required => true %><br />
|
<p><%= f.password_field :password, :size => 25, :required => true %>
|
||||||
<em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
||||||
|
|
||||||
<p><%= f.password_field :password_confirmation, :size => 25, :required => true %></p>
|
<p><%= f.password_field :password_confirmation, :size => 25, :required => true %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -78,7 +78,7 @@ function toggle_custom_field_format() {
|
||||||
<p><%= f.text_field :regexp, :size => 50 %><br />(<%=l(:text_regexp_info)%>)</p>
|
<p><%= f.text_field :regexp, :size => 50 %><br />(<%=l(:text_regexp_info)%>)</p>
|
||||||
<p>
|
<p>
|
||||||
<%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %>
|
<%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %>
|
||||||
<br /><em><%= l(:text_custom_field_possible_values_info) %></em>
|
<em class="info"><%= l(:text_custom_field_possible_values_info) %></em>
|
||||||
</p>
|
</p>
|
||||||
<p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p>
|
<p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p>
|
||||||
<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %>
|
<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
||||||
|
|
||||||
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
|
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
|
||||||
<%= password_field_tag 'new_password', nil, :size => 25 %><br />
|
<%= password_field_tag 'new_password', nil, :size => 25 %>
|
||||||
<em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
||||||
|
|
||||||
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
|
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
|
||||||
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
|
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<p><%= f.text_area :description, :rows => 5, :class => 'wiki-edit' %></p>
|
<p><%= f.text_area :description, :rows => 5, :class => 'wiki-edit' %></p>
|
||||||
<p><%= f.text_field :identifier, :required => true, :size => 60, :disabled => @project.identifier_frozen? %>
|
<p><%= f.text_field :identifier, :required => true, :size => 60, :disabled => @project.identifier_frozen? %>
|
||||||
<% unless @project.identifier_frozen? %>
|
<% unless @project.identifier_frozen? %>
|
||||||
<br /><em><%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %></em>
|
<em class="info"><%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %></em>
|
||||||
<% end %></p>
|
<% end %></p>
|
||||||
<p><%= f.text_field :homepage, :size => 60 %></p>
|
<p><%= f.text_field :homepage, :size => 60 %></p>
|
||||||
<p><%= f.check_box :is_public %></p>
|
<p><%= f.check_box :is_public %></p>
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
<%= error_messages_for 'wiki' %>
|
<%= error_messages_for 'wiki' %>
|
||||||
|
|
||||||
<div class="box tabular">
|
<div class="box tabular">
|
||||||
<p><%= f.text_field :start_page, :size => 60, :required => true %><br />
|
<p><%= f.text_field :start_page, :size => 60, :required => true %>
|
||||||
<em><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p>
|
<em class="info"><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="contextual">
|
<div class="contextual">
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
<p>
|
<p>
|
||||||
<%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
|
<%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
|
||||||
<% if @repository && ! @repository.class.scm_available %>
|
<% if @repository && ! @repository.class.scm_available %>
|
||||||
<br />
|
<em class="info"><%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %></em>
|
||||||
<em><%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %></em>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
|
<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
|
||||||
|
|
||||||
<p><%= setting_text_field :per_page_options, :size => 20 %><br />
|
<p><%= setting_text_field :per_page_options, :size => 20 %>
|
||||||
<em><%= l(:text_comma_separated) %></em></p>
|
<em class="info"><%= l(:text_comma_separated) %></em></p>
|
||||||
|
|
||||||
<p><%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %></p>
|
<p><%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %></p>
|
||||||
|
|
||||||
<p><%= setting_text_field :host_name, :size => 60 %><br />
|
<p><%= setting_text_field :host_name, :size => 60 %>
|
||||||
<em><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p>
|
<em class="info"><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p>
|
||||||
|
|
||||||
<p><%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %></p>
|
<p><%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %></p>
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
|
<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
|
||||||
|
|
||||||
<p><%= setting_text_field :repositories_encodings, :size => 60 %><br />
|
<p><%= setting_text_field :repositories_encodings, :size => 60 %>
|
||||||
<em><%= l(:text_comma_separated) %></em></p>
|
<em class="info"><%= l(:text_comma_separated) %></em></p>
|
||||||
|
|
||||||
<%= call_hook(:view_settings_general_form) %>
|
<%= call_hook(:view_settings_general_form) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="box tabular settings">
|
<div class="box tabular settings">
|
||||||
<p>
|
<p>
|
||||||
<%= setting_text_area :mail_handler_body_delimiters, :rows => 5 %>
|
<%= setting_text_area :mail_handler_body_delimiters, :rows => 5 %>
|
||||||
<br /><em><%= l(:text_line_separated) %></em>
|
<em class="info"><%= l(:text_line_separated) %></em>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</table>
|
</table>
|
||||||
<p><em><%= l(:text_scm_config) %></em></p>
|
<p><em class="info"><%= l(:text_scm_config) %></em></p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<div class="box tabular settings">
|
<div class="box tabular settings">
|
||||||
|
@ -65,8 +65,8 @@
|
||||||
|
|
||||||
<fieldset class="box tabular settings">
|
<fieldset class="box tabular settings">
|
||||||
<legend><%= l(:text_issues_ref_in_commit_messages) %></legend>
|
<legend><%= l(:text_issues_ref_in_commit_messages) %></legend>
|
||||||
<p><%= setting_text_field :commit_ref_keywords, :size => 30 %><br />
|
<p><%= setting_text_field :commit_ref_keywords, :size => 30 %>
|
||||||
<em><%= l(:text_comma_separated) %></em></p>
|
<em class="info"><%= l(:text_comma_separated) %></em></p>
|
||||||
|
|
||||||
<p><%= setting_text_field :commit_fix_keywords, :size => 30 %>
|
<p><%= setting_text_field :commit_fix_keywords, :size => 30 %>
|
||||||
<%= l(:label_applied_status) %>: <%= setting_select :commit_fix_status_id,
|
<%= l(:label_applied_status) %>: <%= setting_select :commit_fix_status_id,
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
(0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] },
|
(0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] },
|
||||||
:blank => :label_no_change_option,
|
:blank => :label_no_change_option,
|
||||||
:label => false %>
|
:label => false %>
|
||||||
<br /><em><%= l(:text_comma_separated) %></em></p>
|
<em class="info"><%= l(:text_comma_separated) %></em></p>
|
||||||
|
|
||||||
<p><%= setting_check_box :commit_cross_project_ref %></p>
|
<p><%= setting_check_box :commit_cross_project_ref %></p>
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
<p><%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {Element.show('password_fields');} else {Element.hide('password_fields');}" %></p>
|
<p><%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {Element.show('password_fields');} else {Element.hide('password_fields');}" %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>">
|
<div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>">
|
||||||
<p><%= f.password_field :password, :required => true, :size => 25 %><br />
|
<p><%= f.password_field :password, :required => true, :size => 25 %>
|
||||||
<em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
||||||
<p><%= f.password_field :password_confirmation, :required => true, :size => 25 %></p>
|
<p><%= f.password_field :password_confirmation, :required => true, :size => 25 %></p>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<p><% @user.projects.each do |project| %>
|
<p><% @user.projects.each do |project| %>
|
||||||
<label><%= check_box_tag 'notified_project_ids[]', project.id, @user.notified_projects_ids.include?(project.id) %> <%=h project.name %></label><br />
|
<label><%= check_box_tag 'notified_project_ids[]', project.id, @user.notified_projects_ids.include?(project.id) %> <%=h project.name %></label><br />
|
||||||
<% end %></p>
|
<% end %></p>
|
||||||
<p><em><%= l(:text_user_mail_option) %></em></p>
|
<p><em class="info"><%= l(:text_user_mail_option) %></em></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
<p><label><%= l(:label_user_mail_no_self_notified) %><%= check_box_tag 'no_self_notified', 1, @user.pref[:no_self_notified] %></label></p>
|
<p><label><%= l(:label_user_mail_no_self_notified) %><%= check_box_tag 'no_self_notified', 1, @user.pref[:no_self_notified] %></label></p>
|
||||||
|
|
||||||
|
|
|
@ -496,6 +496,8 @@ p.other-formats { text-align: right; font-size:0.9em; color: #666; }
|
||||||
|
|
||||||
a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
|
a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
|
||||||
|
|
||||||
|
em.info {font-style:normal;font-size:90%;color:#888;display:block;}
|
||||||
|
|
||||||
/* Project members tab */
|
/* Project members tab */
|
||||||
div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
|
div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
|
||||||
div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
|
div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
|
||||||
|
|
Loading…
Reference in New Issue