首页左侧导航栏的底部地区为空时,不显示
This commit is contained in:
parent
aa1d2854b0
commit
138a342613
|
@ -259,9 +259,11 @@
|
|||
<% update_visiti_count @user %>
|
||||
<div class="">
|
||||
<ul class="home-user-footerinfo">
|
||||
<li><i class="icon-map-marker mr5 ml10 f14"></i>
|
||||
<span><%= @user.user_extensions.location %><% unless @user.user_extensions.location_city.blank? %>-<%= @user.user_extensions.location_city %><% end %></span>
|
||||
</li>
|
||||
<% unless @user.user_extensions.location.blank? %>
|
||||
<li><i class="icon-map-marker mr5 ml10 f14"></i>
|
||||
<span><%= @user.user_extensions.location %>-<%= @user.user_extensions.location_city %></span>
|
||||
</li>
|
||||
<% end %>
|
||||
<li><i class="icon-time mr5 ml10 f14"></i><span><%= @user.created_on.strftime('%Y-%m-%d') %>开始使用</span></li>
|
||||
<li style="color:#b3b3b3"><i class="icon-eye-open mr5 ml10 f14"></i><span><%= @user.visits.to_i %>次访问(自2016年5月)</span></li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue