隐藏学校

dev_local
杨树明 6 years ago
parent e6b786edc0
commit 86641c67b1

@ -6,9 +6,12 @@
<%= image_tag(url_to_avatar(member.user), :width =>"80", :height => "80", :class => "radius", :alt=>"头像") %>
</a>
<div class="fl ml15 flex1">
<p class="mb10 mt5"><%= member.user.try(:show_name) %></p>
<div class="clearfix">
<p class="color-grey-9 font-12 fl"><span class="mr10"><%= member.user.school_name %></span><span><%= member.user.identity == "学生" ? "" : member.user.identity %></span></p>
<p class="mb10 mt5"><%= member.user.try(:show_name) %> <span><%= member.user.identity == "学生" ? "" : member.user.identity %></span></p>
<div class="clearfix ml3">
<p class="color-grey-9 font-12 fl">
<!-- <span class="mr10"><%#= member.user.school_name %></span>-->
</p>
<!--<a href="JavaScript:void(0)" class="edu-default-btn edu-focus-btn fr color-grey-6">关注</a>-->
</div>
</div>

Loading…
Cancel
Save