From: Go MAEDA Date: Thu, 28 Jul 2022 03:04:45 +0000 (+0000) Subject: Normalize HTML in settings/_users, and remove broken CSS left over from the old times... X-Git-Tag: 5.1.0~491 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=da289cc80d436d2c5b6cb3d3b9cd0b99484681a6;p=redmine.git Normalize HTML in settings/_users, and remove broken CSS left over from the old times (#37507). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21743 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/settings/_users.html.erb b/app/views/settings/_users.html.erb index 2ae55b1a3..3482b22d6 100644 --- a/app/views/settings/_users.html.erb +++ b/app/views/settings/_users.html.erb @@ -12,16 +12,15 @@

<%= setting_check_box :unsubscribe %>

-
+
<%= l(:label_default_values_for_new_users) %> -

<%= setting_check_box :default_users_hide_mail, :label => :field_hide_mail %>

- -

<%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %>

- -

<%= setting_check_box :default_users_no_self_notified, :label => :label_user_mail_no_self_notified %>

- -

<%= setting_select :default_users_time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :label => :field_time_zone, :blank => :label_none %>

+
+

<%= setting_check_box :default_users_hide_mail, :label => :field_hide_mail %>

+

<%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %>

+

<%= setting_check_box :default_users_no_self_notified, :label => :label_user_mail_no_self_notified %>

+

<%= setting_select :default_users_time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :label => :field_time_zone, :blank => :label_none %>

+
<%= submit_tag l(:button_save) %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 8f676fc80..7743cf444 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -982,12 +982,6 @@ select.bool_cf {width:auto !important;} #tab-content-modules fieldset p {margin:3px 0 4px 0;} -#tab-content-users .splitcontentleft {width: 64%;} -#tab-content-users .splitcontentright {width: 34%;} -#tab-content-users fieldset {padding:1em; margin-bottom: 1em;} -#tab-content-users fieldset label {display: block;} -#tab-content-users #principals {max-height: 400px; overflow: auto;} - #users_for_watcher {height: 200px; overflow:auto;} #users_for_watcher label {display: block;}