|
|
@ -3,7 +3,7 @@
|
|
|
|
<%= 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) %>
|
|
|
|
<%= 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 %>
|
|
|
|
<% end %>
|
|
|
|
<%= watch_projects @state%>
|
|
|
|
<%= watch_projects @state%>
|
|
|
|
<% if @watch_projects.nil?&&watch_projects.project.nil? %>
|
|
|
|
<% if @watch_projects.count > 0 %>
|
|
|
|
<% for watch_project in @watch_projects %>
|
|
|
|
<% for watch_project in @watch_projects %>
|
|
|
|
<table width="660" border="0" align="center" style="border-bottom: 1px dashed rgb(204, 204, 204); margin-bottom: 10px;font-size:14px;">
|
|
|
|
<table width="660" border="0" align="center" style="border-bottom: 1px dashed rgb(204, 204, 204); margin-bottom: 10px;font-size:14px;">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
@ -11,7 +11,7 @@
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<table width="580" border="0">
|
|
|
|
<table width="580" border="0">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" valign="top"><strong> <%= link_to_user(@user) if watch_project.respond_to?(:user) %></strong><span class="font_lighter"> <%= @user.name%><%= l(:label_watch_project) %></span> <%= link_to_project(watch_project.project) %></td>
|
|
|
|
<td colspan="2" valign="top"><strong> <%= link_to_user(@user) if watch_project.respond_to?(:user) %></strong><span class="font_lighter"> <%= link_to_project(watch_project.project) %></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" width="580" >
|
|
|
|
<td colspan="2" width="580" >
|
|
|
|