|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
<% if is_comprehensive_evaluation == 3 || User.current == homework.user%>
|
|
|
|
|
<%= l(:label_work_rating) %>:
|
|
|
|
|
<%= render :partial => 'show_score', locals: {:stars => totle_score} %>
|
|
|
|
|
<!-- <#%= l(:label_work_rating) %>:
|
|
|
|
|
<%#= render :partial => 'show_score', locals: {:stars => totle_score} %> -->
|
|
|
|
|
<% elsif is_comprehensive_evaluation == 2 %>
|
|
|
|
|
<%= l(:label_work_rating) %>:
|
|
|
|
|
<% if has_evaluation %>
|
|
|
|
|
<%= render :partial => 'show_score', locals: {:stars => totle_score} %>
|
|
|
|
|
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= l(:label_work_rating) %>:
|
|
|
|
|
<%= rating_for homework, dimension: :quality, class: 'rateable div_inline' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|