修改了搜索结果显示
This commit is contained in:
parent
be14669f6b
commit
bb994f8b7d
|
@ -32,10 +32,10 @@
|
||||||
<td style="width: 350px"><strong>当前单位 : <!-- <%= @course.teacher.user_extensions.occupation %> --></strong></td>
|
<td style="width: 350px"><strong>当前单位 : <!-- <%= @course.teacher.user_extensions.occupation %> --></strong></td>
|
||||||
<td rowspan="2" width="350px">
|
<td rowspan="2" width="350px">
|
||||||
<div class="top-content-search">
|
<div class="top-content-search">
|
||||||
<%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
|
<%= form_tag(:controller => 'projects', :action => 'search', :method => :get) do %>
|
||||||
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
||||||
<%= hidden_field_tag 'project_type', params[:project_type] %>
|
<%= hidden_field_tag 'project_type', @project.project_type %>
|
||||||
<%= submit_tag l(:label_search), :class => "small", :name => nil %>
|
<%= submit_tag l(:label_search), :class => "small", :name => nil %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -19,47 +19,35 @@
|
||||||
<body class="<%= h body_css_classes %>">
|
<body class="<%= h body_css_classes %>">
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div id="wrapper2">
|
<div id="wrapper2">
|
||||||
<div id="wrapper3">
|
<div id="wrapper3">
|
||||||
<% if session[:enterprise_college] == 2 %>
|
<%=render :partial => 'layouts/base_header'%>
|
||||||
<%=render :partial => 'layouts/base_enterprise_header'%>
|
|
||||||
<% elsif session[:enterprise_college] == 1 %>
|
|
||||||
<%=render :partial => 'layouts/base_college_header'%>
|
|
||||||
<% else %>
|
|
||||||
<%=render :partial => 'layouts/base_header'%>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
||||||
<!-- added by bai -->
|
<!-- added by bai -->
|
||||||
<div class="top-content">
|
<div class="top-content">
|
||||||
<table><tr><td>
|
<table>
|
||||||
<div class="top-content-home">
|
<tr>
|
||||||
<table>
|
<td class="info_font" style="width: 240px">软件项目托管社区</td>
|
||||||
<tr>
|
<td style="width: 350px"><strong>当前位置: </strong></td>
|
||||||
<td>创客主页</td>
|
<td rowspan="2" width="350px">
|
||||||
</tr>
|
<div class="top-content-search">
|
||||||
<tr>
|
<%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
|
||||||
<td>forge.trustie.net</td>
|
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
||||||
</tr>
|
<%= hidden_field_tag 'project_type', params[:project_type] %>
|
||||||
</table>
|
<%= submit_tag l(:label_search), :class => "small", :name => nil %>
|
||||||
</div></td>
|
<% end %>
|
||||||
<td>
|
</div>
|
||||||
<div class="top-content-location">
|
</td>
|
||||||
<table>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>当前位置:</td>
|
<td style="padding-left: 8px"><a>forge.trustie.net/courses</a></td>
|
||||||
</tr>
|
<td ><%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index' %> > <%=link_to @project,project_path %></td>
|
||||||
<tr>
|
</tr>
|
||||||
<td><%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index' %> > <%=link_to @project,project_path %></td>
|
</table>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div></td>
|
|
||||||
<td>
|
|
||||||
<div class="top-content-search">
|
|
||||||
|
|
||||||
</div></td></tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- end -->
|
<!-- end -->
|
||||||
|
|
||||||
<!--project page-->
|
<!--project page-->
|
||||||
|
|
Loading…
Reference in New Issue