Change subrole's context from code to text at approval setting.
This commit is contained in:
parent
2aaff21000
commit
7603cb91ad
|
@ -7,7 +7,7 @@
|
||||||
<% sys_user.sub_roles.each do |sr| %>
|
<% sys_user.sub_roles.each do |sr| %>
|
||||||
<div class="for_unit" style="display:none;"> <%= sr.key %></div>
|
<div class="for_unit" style="display:none;"> <%= sr.key %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.key}.join(',')}"},:class=>"checkbox clear" do %>
|
<%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %>
|
||||||
<div class="check-icon">
|
<div class="check-icon">
|
||||||
</div>
|
</div>
|
||||||
<div class='member-avatar'>
|
<div class='member-avatar'>
|
||||||
|
|
Reference in New Issue