38 lines
1.7 KiB
Plaintext
38 lines
1.7 KiB
Plaintext
|
<ul class="user_project_sort">
|
|||
|
<% for membership in @memberships %>
|
|||
|
<li>
|
|||
|
|
|||
|
<table width="660" border="0" align="center" style="border-bottom: 1px dashed rgb(204, 204, 204); margin-bottom: 10px;font-size:14px;">
|
|||
|
<tr>
|
|||
|
<td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(membership.project), :class => 'avatar'), project_path(membership.project) %></td>
|
|||
|
<td>
|
|||
|
<table width="580" border="0">
|
|||
|
<tr>
|
|||
|
<td colspan="2" valign="top"><span><%= link_to_project(membership.project) %></span>
|
|||
|
<span></span>
|
|||
|
<span style="float: right"><%= l(:label_x_base_courses_member, :count => membership.project.members.count) %>(<%= link_to "#{membership.project.members.count}", project_member_path(membership.project), :course =>'1' %>)
|
|||
|
<%= l(:label_homework) %> (<span class=""><%= link_to (membership.project.homeworks.count), {:controller => 'projects', :action => 'homework', :id => membership.project.identifier} %></span>)
|
|||
|
|
|||
|
<%= l(:label_course_news)%> (<span style="color: #ed8924"><%= link_to (membership.project.news.count), {:controller => 'news', :action => 'index', :project_id => membership.project.identifier} %></span>)
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td colspan="2" width="580" >
|
|||
|
<p class="font_description">
|
|||
|
<%= membership.project.description %>
|
|||
|
</p></td>
|
|||
|
</tr>
|
|||
|
<tr><td>
|
|||
|
|
|||
|
|
|||
|
<span class="font_lighter" style="float: right"><%= l(:label_create_time) %> :<%= format_time(membership.created_on) %></span>
|
|||
|
</td></tr>
|
|||
|
</table></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</li>
|
|||
|
|
|||
|
<% end %>
|
|||
|
|
|||
|
</ul>
|
|||
|
<%= call_hook :view_account_left_bottom, :user => @user %>
|