Project

General

Profile

Patch #37507 ยป 0001-Normalize-HTML-in-settings-_users-remove-broken-CSS-.patch

Holger Just, 2022-07-27 17:48

View differences:

app/views/settings/_users.html.erb
<p><%= setting_check_box :unsubscribe %></p>
</div>
<fieldset class="box tabular settings">
<fieldset class="box">
<legend><%= l(:label_default_values_for_new_users) %></legend>
<p><%= setting_check_box :default_users_hide_mail, :label => :field_hide_mail %></p>
<p><%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %></p>
<p><%= setting_check_box :default_users_no_self_notified, :label => :label_user_mail_no_self_notified %></p>
<p><%= setting_select :default_users_time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :label => :field_time_zone, :blank => :label_none %></p>
<div class="tabular settings">
<p><%= setting_check_box :default_users_hide_mail, :label => :field_hide_mail %></p>
<p><%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %></p>
<p><%= setting_check_box :default_users_no_self_notified, :label => :label_user_mail_no_self_notified %></p>
<p><%= setting_select :default_users_time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :label => :field_time_zone, :blank => :label_none %></p>
</div>
</fieldset>
<%= submit_tag l(:button_save) %>
public/stylesheets/application.css
#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;}
    (1-1/1)