diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 978b4420a..02268746d 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -181,7 +181,7 @@ alert('error'); }); } else if (textStatus == 'error') { - alert('error'); + alert('An error has occurred'); } }); } diff --git a/app/views/users/user_projects.html.erb b/app/views/users/user_projects.html.erb index 6b218a97d..ffb420339 100644 --- a/app/views/users/user_projects.html.erb +++ b/app/views/users/user_projects.html.erb @@ -1,6 +1,6 @@ <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new', :course => 0, :project_type => 0}, :class => 'icon icon-add') if(User.current.allowed_to?(:add_project, nil, :global => true) && @user == User.current)%> -温馨提示:项目可以是一次作业,也可以是别人或者自己创建的一项小工程~ + <%= watch_projects @state %> <% unless @memberships.empty? %>