diff --git a/app/views/account/password_recovery.html.erb b/app/views/account/password_recovery.html.erb index 9ef7c8e1c..72310aefc 100644 --- a/app/views/account/password_recovery.html.erb +++ b/app/views/account/password_recovery.html.erb @@ -5,8 +5,8 @@ <% form_tag({:token => @token.value}) do %>
-<%= password_field_tag 'new_password', nil, :size => 25 %>
-<%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>
diff --git a/app/views/account/register.html.erb b/app/views/account/register.html.erb index adf131965..adb436326 100644 --- a/app/views/account/register.html.erb +++ b/app/views/account/register.html.erb @@ -7,8 +7,8 @@ <% if @user.auth_source_id.nil? %><%= f.text_field :login, :size => 25, :required => true %>
-<%= f.password_field :password, :size => 25, :required => true %>
- <%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>
<%= f.password_field :password, :size => 25, :required => true %> + <%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>
<%= f.password_field :password_confirmation, :size => 25, :required => true %>
<% end %> diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb index d09653b04..84f08457e 100644 --- a/app/views/custom_fields/_form.html.erb +++ b/app/views/custom_fields/_form.html.erb @@ -78,7 +78,7 @@ function toggle_custom_field_format() {<%= f.text_field :regexp, :size => 50 %>
(<%=l(:text_regexp_info)%>)
<%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %>
-
<%= l(:text_custom_field_possible_values_info) %>
+ <%= l(:text_custom_field_possible_values_info) %>
<%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %>
<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %> diff --git a/app/views/my/password.html.erb b/app/views/my/password.html.erb index cac79342c..61d5c56ca 100644 --- a/app/views/my/password.html.erb +++ b/app/views/my/password.html.erb @@ -8,8 +8,8 @@ <%= password_field_tag 'password', nil, :size => 25 %>
-<%= password_field_tag 'new_password', nil, :size => 25 %>
-<%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>
diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb index a41b00e50..d7b7554f9 100644 --- a/app/views/projects/_form.html.erb +++ b/app/views/projects/_form.html.erb @@ -11,7 +11,7 @@<%= f.text_area :description, :rows => 5, :class => 'wiki-edit' %>
<%= f.text_field :identifier, :required => true, :size => 60, :disabled => @project.identifier_frozen? %>
<% unless @project.identifier_frozen? %>
-
<%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %>
+ <%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %>
<% end %>
<%= f.text_field :homepage, :size => 60 %>
<%= f.check_box :is_public %>
diff --git a/app/views/projects/settings/_wiki.html.erb b/app/views/projects/settings/_wiki.html.erb index e627adc07..0ef494ba3 100644 --- a/app/views/projects/settings/_wiki.html.erb +++ b/app/views/projects/settings/_wiki.html.erb @@ -4,8 +4,8 @@ <%= error_messages_for 'wiki' %><%= f.text_field :start_page, :size => 60, :required => true %>
-<%= l(:text_unallowed_characters) %>: , . / ? ; : |
<%= f.text_field :start_page, :size => 60, :required => true %> +<%= l(:text_unallowed_characters) %>: , . / ? ; : |
<%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
<% if @repository && ! @repository.class.scm_available %>
-
- <%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %>
+ <%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %>
<% end %>
<%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %>
-<%= setting_text_field :per_page_options, :size => 20 %>
-<%= l(:text_comma_separated) %>
<%= setting_text_field :per_page_options, :size => 20 %> +<%= l(:text_comma_separated) %>
<%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %>
-<%= setting_text_field :host_name, :size => 60 %>
-<%= l(:label_example) %>: <%= @guessed_host_and_path %>
<%= setting_text_field :host_name, :size => 60 %> +<%= l(:label_example) %>: <%= @guessed_host_and_path %>
<%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %>
@@ -30,8 +30,8 @@<%= setting_text_field :diff_max_lines_displayed, :size => 6 %>
-<%= setting_text_field :repositories_encodings, :size => 60 %>
-<%= l(:text_comma_separated) %>
<%= setting_text_field :repositories_encodings, :size => 60 %> +<%= l(:text_comma_separated) %>
<%= call_hook(:view_settings_general_form) %>
<%= setting_text_area :mail_handler_body_delimiters, :rows => 5 %>
-
<%= l(:text_line_separated) %>
+ <%= l(:text_line_separated) %>
<%= l(:text_scm_config) %>
+<%= l(:text_scm_config) %>
<% @user.projects.each do |project| %>
<% end %>
<%= l(:text_user_mail_option) %>
+<%= l(:text_user_mail_option) %>
<% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 7dc0ec6ba..5204df4cf 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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; } +em.info {font-style:normal;font-size:90%;color:#888;display:block;} + /* Project members tab */ 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% }