#1832 不显示无数据的字段,字段名
This commit is contained in:
parent
56700f4d62
commit
5950f0404b
|
@ -1961,4 +1961,8 @@ module ApplicationHelper
|
|||
end
|
||||
confirm_info
|
||||
end
|
||||
|
||||
def get_technical_title user
|
||||
#user.user_extensions.technical_title
|
||||
end
|
||||
end
|
||||
|
|
|
@ -267,7 +267,9 @@
|
|||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% unless @user.user_extensions.location.empty?%>
|
||||
<tr>
|
||||
|
||||
<td style=" float: right" width="70px">
|
||||
<span style="float: right"> <%= l(:label_location) %>:</span>
|
||||
</td>
|
||||
|
@ -276,6 +278,8 @@
|
|||
<%= @user.user_extensions.location_city %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% unless @user.user_extensions.technical_title.nil?%>
|
||||
<tr>
|
||||
<% if @user.user_extensions.identity == 0 %>
|
||||
<td style=" float: right" width="70px" >
|
||||
|
@ -286,8 +290,9 @@
|
|||
</td>
|
||||
<% end %>
|
||||
</tr>
|
||||
<%end%>
|
||||
<% if @user.user_extensions.identity == 1 %>
|
||||
<% if(is_watching?(@user) ) %>
|
||||
<% if(is_watching?(@user) ) && !@user.user_extensions.student_id.empty? %>
|
||||
<tr>
|
||||
<td style=" float: right" width="70px" >
|
||||
<span style="float: right"> <%= l(:label_bidding_user_studentcode)%>:</span>
|
||||
|
|
Loading…
Reference in New Issue