Project

General

Profile

Feature #6831 » feature-6831.patch

Mizuki ISHIKAWA, 2019-08-22 06:42

View differences:

app/helpers/application_helper.rb
562 562
  def principals_check_box_tags(name, principals)
563 563
    s = +''
564 564
    principals.each do |principal|
565
      s << "<label>#{ check_box_tag name, principal.id, false, :id => nil } #{h principal}</label>\n"
565
      s << "<label>#{ check_box_tag name, principal.id, false, :id => nil } <span class='name icon icon-#{principal.class.name.downcase}'></span>#{h principal}</label>\n"
566 566
    end
567 567
    s.html_safe
568 568
  end
public/stylesheets/application.css
318 318
tr.version td.name { padding-left: 20px; }
319 319
tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
320 320

  
321
tr.member td.icon-user {background:transparent;}
321
tr.member td.icon-user, #principals_for_new_member .icon-user {background:transparent;}
322 322

  
323 323
tr.user td {width:13%;white-space: nowrap;}
324 324
td.username, td.firstname, td.lastname, td.email {text-align:left !important;}
(3-3/3)