|
|
|
@ -1,10 +1,6 @@
|
|
|
|
|
<!--add by huang-->
|
|
|
|
|
<p>温馨提示:这里显示的是您创建或参与的所有项目。</p>
|
|
|
|
|
<div class="content-title-top-project">
|
|
|
|
|
<% if @user == User.current %>
|
|
|
|
|
<%= 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) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<%= 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)%>
|
|
|
|
|
<span class="font_lighter" >温馨提示:项目可以是一次作业,也可以是别人或者自己创建的一项小工程~</span>
|
|
|
|
|
<%= watch_projects @state %>
|
|
|
|
|
<% unless @memberships.empty? %>
|
|
|
|
|
<div class="content_frame">
|
|
|
|
|