diff --git a/app/views/users/_my_create_homework.html.erb b/app/views/users/_my_create_homework.html.erb new file mode 100644 index 000000000..daafc9eef --- /dev/null +++ b/app/views/users/_my_create_homework.html.erb @@ -0,0 +1,47 @@ + +<% if @bid.size > 0%> + +<% @bid.each do |bids|%> + +<% for bid in bids[1] %> +<% if @user == bid.author %> +
<%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %> | +
+
|
+
暂无任何作业
+<% end %> \ No newline at end of file diff --git a/app/views/users/_my_joinedcourse.html.erb b/app/views/users/_my_joinedcourse.html.erb new file mode 100644 index 000000000..99ddd5ebe --- /dev/null +++ b/app/views/users/_my_joinedcourse.html.erb @@ -0,0 +1,67 @@ ++ <%= l(:label_project_course_un) %> +
+ <% else %> ++ <%= l(:label_project_course_unadd) %> + <% if User.current.user_extensions.identity == 0 %> + <%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1}, :class => 'icon icon-add' %> + <% end %> +
+ <% end %> + <% else %> + <% if User.current.user_extensions.identity == 0 %> + <%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1}, :class => 'icon icon-add' %> + <% end %> +<%= link_to image_tag(url_to_avatar(membership.project), :class => 'avatar'), project_path(membership.project) %> | +
+
|
+