diff --git a/app/views/users/_my_joinedcourse.html.erb b/app/views/users/_my_joinedcourse.html.erb index f906c7065..24b4557c0 100644 --- a/app/views/users/_my_joinedcourse.html.erb +++ b/app/views/users/_my_joinedcourse.html.erb @@ -11,8 +11,22 @@
<% end %> <% else %> -<%= link_to"#{l(:label_course_view_student)}",{:controller=>'projects',:action=>'course', :course => 1}, :class => 'icon icon-add' %>
- <%= render :partial => 'course_form', :locals => {:memberships => @memberships}%> - <% end %> ++ <%=l(:label_course_doing)%>(<%=@memberships_doing.count%>) + <%= link_to"#{l(:label_course_view_student)}",{:controller=>'projects',:action=>'course', :course => 1}, :class => 'icon icon-add' %> +
++ <%=l(:label_course_done)%>(<%=@memberships_done.count%>) +
+