Fix annoucement front_end displaying two promoter
This commit is contained in:
parent
003be65d03
commit
d3a9603531
|
@ -44,15 +44,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% unless @bulletin.user_ids.blank? %>
|
|
||||||
<div class="promoter">
|
|
||||||
<div>
|
|
||||||
<p><%= t(:promoter) %>:</p>
|
|
||||||
<span><%= @bulletin.get_users.map{|u| "<span>#{u.name}</span>"}.join(', ').html_safe %></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<%= share_links(@bulletin, 'announcement') %>
|
<%= share_links(@bulletin, 'announcement') %>
|
||||||
|
|
||||||
|
<% unless @bulletin.user_ids.blank? %>
|
||||||
<%= render partial: 'admin/member_selects/promoter_front', locals: {users: @bulletin.get_users} %>
|
<%= render partial: 'admin/member_selects/promoter_front', locals: {users: @bulletin.get_users} %>
|
||||||
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue