修改issue指派给我名称显示问题
This commit is contained in:
parent
b1496e1874
commit
b2ed335146
|
@ -42,8 +42,8 @@
|
||||||
</li>
|
</li>
|
||||||
<li class="c_grey">
|
<li class="c_grey">
|
||||||
<% unless activity.assigned_to_id.nil? %>
|
<% unless activity.assigned_to_id.nil? %>
|
||||||
<% if activity.try(:assigned_to).try(:realname) == ' ' %>
|
<% if activity.try(:assigned_to).try(:realname).empty? %>
|
||||||
<%= link_to activity.try(:assigned_to), user_path(activity.assigned_to_id), :class => "c_grey" %>
|
<%= link_to activity.assigned_to, user_path(activity.assigned_to_id), :class => "c_grey" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to activity.try(:assigned_to).try(:realname), user_path(activity.assigned_to_id), :class => "c_grey" %>
|
<%= link_to activity.try(:assigned_to).try(:realname), user_path(activity.assigned_to_id), :class => "c_grey" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue