<% unless @memberships.empty? %>
<% for membership in @memberships %>
-
|
<%= link_to_project(membership.project) %>创建了 <%= link_to_project(membership.project) %> |
<%= membership.project.description%>
|
<%= format_date(membership.created_on) %> |
<%= h membership.roles.sort.collect(&:to_s).join(', ') %> |
|
<% end %>
<%= link_to"更多",:controller=>'projects',:action=>'index'%>
<% else %>
暂无项目,赶快去<%= link_to"新建",:controller=>'projects',:action=>'new'%>吧
<% end %>
<%= call_hook :view_account_left_bottom, :user => @user %>