|
|
|
@ -32,9 +32,9 @@
|
|
|
|
|
<td rowspan="2" width="250px">
|
|
|
|
|
<div class="top-content-search">
|
|
|
|
|
<%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
|
|
|
|
|
<%= text_field_tag 'name', params[:name], :size => 20 %>
|
|
|
|
|
<%= hidden_field_tag 'project_type', params[:project_type] %>
|
|
|
|
|
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
|
|
|
|
|
<%= text_field_tag 'name', params[:name], :size => 20 %>
|
|
|
|
|
<%= hidden_field_tag 'project_type', params[:project_type] %>
|
|
|
|
|
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
@ -62,8 +62,7 @@
|
|
|
|
|
<div class="info-course">
|
|
|
|
|
<%= @project.name %>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-left: 20px;">
|
|
|
|
|
<span class="icon-fav icon"></span>
|
|
|
|
|
<div style="margin-left: 20px;">
|
|
|
|
|
<% unless User.current.member_of? @project %>
|
|
|
|
|
<span class="icon-fav icon"></span><%= watcher_link(@project, User.current) %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -78,8 +77,8 @@
|
|
|
|
|
<table width="240" border="0">
|
|
|
|
|
<tr align="center" width="80px">
|
|
|
|
|
<% files_count = @project.attachments.count %>
|
|
|
|
|
<% @project.versions.each do |version| %>
|
|
|
|
|
<% files_count += version.attachments.count %>
|
|
|
|
|
<% @project.versions.each do |version| %>
|
|
|
|
|
<% files_count += version.attachments.count %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<td class="font_index"><%=link_to "#{@project.members.count}", project_member_path(@project) %></td>
|
|
|
|
|