<% unless review_list.nil?%> <% review_list.each do |review|%> <% user = review.rater %> <% jour = get_homework_review @homework,show_jour,user %>
<% if show_name %> <%= link_to image_tag(url_to_avatar(user)) , user_path(user), :target =>"_blank" %> <% else %> <%= image_tag(url_to_avatar(nil))%> <% end %>
<% if show_name %> <%= link_to user, user_path(user),:style => " font-weight:bold; color:#15bccf; margin-right:5px; background:none;", :target => "_blank"%> <% else%> <%= l(:label_anonymous) %> <% end %> <%= format_time(review.created_at) %> <% if review.stars && review.stars.to_i > 0%> <%= l(:label_work_rating) %>:
<%= render :partial => 'homework_attach/show_static_star', :locals => {:start_score => review.stars } %>
<% end %>

<%= textilizable jour.nil? ? "" : jour.notes%>

<% unless jour.nil? %> <% ids = 'project_respond_form_'+ jour.id.to_s%>
<%= link_to l(:label_newfeedback_respond),'', {:focus => 'project_respond', :onclick => "toggleAndSettingWordsVal($('##{ids}'), $('##{ids} textarea'), ''); $('##{ids} textarea') ;return false;"} %>
<%= render :partial => 'words/new_respond', :locals => {:journal => jour, :m_reply_id => jour,:show_name=> show_name} %>
<%= render :partial => "words/journal_reply", :locals => {:journal => jour,:show_name=> show_name} %>
<% end %>
<% end %> <% end %>