|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
<td rowspan="2">
|
|
|
|
|
<% if User.current.logged?%>
|
|
|
|
|
<% if User.current.user_extensions.identity == 0 %>
|
|
|
|
|
<%= link_to(l(:label_course_new), {:controller => 'projects', :action => 'new', :course => 1, :project_type => @project_type}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %></td>
|
|
|
|
|
<%= link_to(l(:label_course_new), {:controller => 'projects', :action => 'new', :course => 1, :project_type => 1}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %></td>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|