2016-10-27 12:39:44 +08:00
|
|
|
|
<div class="container-big mb10">
|
|
|
|
|
<div class="project_r_h" style="width:970px;">
|
2016-10-28 16:36:59 +08:00
|
|
|
|
<h2 class="project_h2 fl">收藏用户</h2>
|
2016-10-27 12:39:44 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="member_content">
|
|
|
|
|
<%= error_messages_for 'member' %>
|
|
|
|
|
<div class="st_list2" style="width:970px;">
|
|
|
|
|
<div class="st_box">
|
|
|
|
|
<div class="cl"></div><!--st_box_top end-->
|
|
|
|
|
<% @stores.each do |member| %>
|
2016-10-28 10:18:30 +08:00
|
|
|
|
<% unless member.user.nil? %>
|
|
|
|
|
<div class="st_boxlist">
|
|
|
|
|
<a href="javascript:" class="st_img">
|
|
|
|
|
<%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :width => 32, :height => 32)) %>
|
|
|
|
|
</a>
|
|
|
|
|
<span class="fr ml10 c_grey"><%= l(:label_user_for_project_grade) %>:<span class="c_orange"><%= format("%.2f" ,read_user_project_scores(member.user,@project)).to_i %></span></span>
|
2016-10-27 12:39:44 +08:00
|
|
|
|
|
2016-10-28 10:18:30 +08:00
|
|
|
|
<span class="fl ml10 c_grey"><%= l(:label_username)%></span>
|
2016-10-28 16:36:59 +08:00
|
|
|
|
<%= link_to(member.user.name, user_path(member.user),:class => "ml10 c_blue02") %><br/>
|
2016-10-28 10:18:30 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<% end %>
|
2016-10-27 12:39:44 +08:00
|
|
|
|
<% end%>
|
|
|
|
|
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|