|
|
|
@ -28,28 +28,28 @@
|
|
|
|
|
<div id="main" class="">
|
|
|
|
|
|
|
|
|
|
<div class="top-content">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style="width: 240px; color: #15bccf"><%=l(:label_contest_innovate_community)%></td>
|
|
|
|
|
<td style="width: 430px; color: #15bccf"><strong><%= l(:label_user_location) %> : </strong></td>
|
|
|
|
|
<td rowspan="2" width="250px">
|
|
|
|
|
<div class="project-search">
|
|
|
|
|
<%= form_tag({controller: 'contests', action: 'index'}, 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 %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-left: 8px"><%=link_to request.host()+"/contests", :controller=>'contests', :action=>'index' %></td>
|
|
|
|
|
<td ><%=link_to l(:field_homepage), home_path %> >
|
|
|
|
|
<%=link_to l(:label_contest_innovate), :controller=>'contests', :action=>'index' %> >
|
|
|
|
|
<span><%= link_to @contest.name, show_contest_contest_path(@contest) %></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style="width: 240px; color: #15bccf"><%=l(:label_contest_innovate_community)%></td>
|
|
|
|
|
<td style="width: 430px; color: #15bccf"><strong><%= l(:label_user_location) %> : </strong></td>
|
|
|
|
|
<td rowspan="2" width="250px">
|
|
|
|
|
<div class="project-search">
|
|
|
|
|
<%= form_tag({controller: 'contests', action: 'index'}, 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 %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-left: 8px"><%=link_to request.host()+"/contests", :controller=>'contests', :action=>'index' %></td>
|
|
|
|
|
<td><%=link_to l(:field_homepage), home_path %> >
|
|
|
|
|
<%=link_to l(:label_contest_innovate), :controller=>'contests', :action=>'index' %> >
|
|
|
|
|
<span title="<%= @contest.name%>"><%= link_to h(truncate(@contest.name, length: 20, omission: '...')), show_contest_contest_path(@contest) %></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="sidebar">
|
|
|
|
@ -65,7 +65,7 @@
|
|
|
|
|
<td>
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style=" word-wrap: break-word; word-break: break-all"><%= link_to @contest.name, show_contest_contest_path(@contest) %></td>
|
|
|
|
|
<td class="info_font" title="<%= @contest.name%>"><%= link_to h(truncate(@contest.name, length: 13, omission: '...')), show_contest_contest_path(@contest) %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<% if User.current.login? %>
|
|
|
|
|
<tr colspan='3'>
|
|
|
|
@ -170,7 +170,7 @@
|
|
|
|
|
<!--标签-->
|
|
|
|
|
<div class="user_fans">
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
<table style="font-family:微软雅黑">
|
|
|
|
|
<table style="font-family:'微软雅黑'">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<%= render :partial => 'tags/tag', :locals => {:obj => @contest, :object_flag => "7"}%>
|
|
|
|
|