留言框样式调整,实践课程“的课程名下的(加入课程 关注)、”创新竞赛“的竞赛名下的(加入竞赛 关注)、”软件众包“的名称下的(选为作业 关注),这三个模块的格式统一
This commit is contained in:
parent
41fd14c074
commit
071738c54e
|
@ -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>
|
||||
|
@ -63,7 +63,6 @@
|
|||
<%= @project.name %>
|
||||
</div>
|
||||
<div style="margin-left: 20px;">
|
||||
<span class="icon-fav icon"></span>
|
||||
<% 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>
|
||||
|
|
Loading…
Reference in New Issue