<% reply_allow = JournalsForMessage.create_by_user? User.current %> <%= javascript_include_tag 'seems_rateable/jRating', 'seems_rateable/rateable'%>

<%= @homework.name %>

<% if @homework.users.count > 0 %>
<%= l(:label_participation_person) %>: <% if @is_anonymous_comments && @is_comprehensive_evaluation != 1 %> <%= l(:label_anonymous) %> <%else%> <% @homework.users.each do |homework_user| %> <%= link_to homework_user, user_path(homework_user)%> <% if @homework.users.count > 1 && homework_user != @homework.users.last %> 、                 <% end %> <% end %> <% end %>
<% end %>

<% if @homework.description != nil && @homework.description != "" %> <%= @homework.description %> <% else %>

<%= l(:label_homework_without_description) %>
<% end %>

<%= l(:label_attachment) %>: <% if @is_evaluation || is_teacher%> <% options = {:author => true } %> <%= render :partial => 'app_link', :locals => {:attachments => @homework.attachments, :options => options} %> <% else %> <%= l(:label_cant_download) %> <% end %>

<%= render :partial => 'show_star',:locals => {:is_comprehensive_evaluation => @is_comprehensive_evaluation,:totle_score => @totle_score,:has_evaluation => @has_evaluation , :homework => @homework} %>
<%= render :partial => 'addjour', :locals => {:homework_attach => @homework, :sta => 0, :is_comprehensive_evaluation => @is_comprehensive_evaluation} %>
<%= render :partial => 'histoey_new' %>