<% if @member @honors = Honor.where(is_hidden: false, :create_user_id => @member.id).desc(:year) @honor_intro = !PersonalHonorIntro.where(:user_id => @member.id).blank? ? PersonalHonorIntro.where(:user_id => @member.id).first : PersonalHonorIntro.new %> <% if @honor_intro.brief_intro and !@honor_intro.blank? %>
<%= @honor_intro.text.html_safe rescue '' %>
<% end %> <% if ( !@honor_intro.blank? and @honor_intro.complete_list ) or @honor_intro.blank? %> <% if !@honors.blank? %> <% @honors.each do |honor| %> <% end %>
<%= t('personal_honor.year') %> <%= t('personal_honor.award_name') %> <%= t('personal_honor.awarding_unit') %>
<%= honor.year %> <%= link_to honor.award_name, panel_personal_honor_front_end_honor_path(honor) %> <%= honor.awarding_unit %>
<% end %> <% end %> <% end %>