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
12 12
    <p><%= setting_check_box :unsubscribe %></p>
13 13
  </div>
14 14

  
15
  <fieldset class="box tabular settings">
15
  <fieldset class="box">
16 16
    <legend><%= l(:label_default_values_for_new_users) %></legend>
17 17

  
18
    <p><%= setting_check_box :default_users_hide_mail, :label => :field_hide_mail %></p>
19

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

  
22
    <p><%= setting_check_box :default_users_no_self_notified, :label => :label_user_mail_no_self_notified %></p>
23

  
24
    <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>
18
    <div class="tabular settings">
19
      <p><%= setting_check_box :default_users_hide_mail, :label => :field_hide_mail %></p>
20
      <p><%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %></p>
21
      <p><%= setting_check_box :default_users_no_self_notified, :label => :label_user_mail_no_self_notified %></p>
22
      <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>
23
    </div>
25 24
  </fieldset>
26 25

  
27 26
  <%= submit_tag l(:button_save) %>
public/stylesheets/application.css
982 982

  
983 983
#tab-content-modules fieldset p {margin:3px 0 4px 0;}
984 984

  
985
#tab-content-users .splitcontentleft {width: 64%;}
986
#tab-content-users .splitcontentright {width: 34%;}
987
#tab-content-users fieldset {padding:1em; margin-bottom: 1em;}
988
#tab-content-users fieldset label {display: block;}
989
#tab-content-users #principals {max-height: 400px; overflow: auto;}
990

  
991 985
#users_for_watcher {height: 200px; overflow:auto;}
992 986
#users_for_watcher label {display: block;}
993 987

  
    (1-1/1)