|
|
|
@ -10,7 +10,7 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style="width: 220px; color: #15bccf"><%= l(:label_course_practice) %></td>
|
|
|
|
|
<td class="location-list"><strong><%= l(:label_user_location) %> :</strong></td>
|
|
|
|
|
<td rowspan="2">
|
|
|
|
|
<td rowspan="2" valign="bottom">
|
|
|
|
|
<% 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>
|
|
|
|
@ -35,7 +35,7 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style="width: 220px; color: #15bccf"><%= l(:label_project_deposit) %></td>
|
|
|
|
|
<td class="location-list"><strong><%= l(:label_user_location) %> :</strong></td>
|
|
|
|
|
<td rowspan="2">
|
|
|
|
|
<td rowspan="2" valign="bottom">
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
|
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new', :course => 0, :project_type => @project_type}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
|
|
|
|
<% end %>
|
|
|
|
|