试用授权未审批页面增加学校统计链接

dev_ec
cxt 6 years ago
parent 584da88eca
commit aa6e3dddbf

@ -15,7 +15,7 @@
</li> </li>
<li class="clearfix mb5"> <li class="clearfix mb5">
<% if !user.try(:user_extensions).school_id.blank? && user.try(:user_extensions).try(:school) %> <% if !user.try(:user_extensions).school_id.blank? && user.try(:user_extensions).try(:school) %>
<span><%= user.try(:user_extensions).school.name %><%= user.try(:user_extensions).department ? ' - '+user.try(:user_extensions).department.name.to_s : '' %></span> <a href="<%= user.try(:user_extensions).school.statistic_url %>" target="_blank" class="color-blue"><%= user.try(:school_name) %><%= user.try(:user_extensions).department ? ' - '+user.try(:user_extensions).department.name.to_s : '' %></a>
<% end %> <% end %>
<% if user.try(:user_extensions) && user.try(:user_extensions).identity %> <% if user.try(:user_extensions) && user.try(:user_extensions).identity %>
<span class="ml30"><%= user.identity %></span> <span class="ml30"><%= user.identity %></span>

Loading…
Cancel
Save