|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
<%=render :partial => 'layouts/base_header'%>
|
|
|
|
|
<div id="main" class="">
|
|
|
|
|
<div class="top-content">
|
|
|
|
|
<table>
|
|
|
|
|
<table style="font-size: 13px !important;">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style="width: 240px; color: #15bccf" rowspan="2">
|
|
|
|
|
<a href="http://<%= Setting.host_contest%>" style="color: #15bccf;">
|
|
|
|
@ -33,7 +33,9 @@
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td style="width: 430px; color: #15bccf">
|
|
|
|
|
<strong><%= l(:label_user_location) %> : </strong>
|
|
|
|
|
<strong>
|
|
|
|
|
<%= l(:label_user_location) %> :
|
|
|
|
|
</strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td rowspan="2" width="250px">
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
@ -74,11 +76,14 @@
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><%=link_to l(:field_homepage), home_path %> >
|
|
|
|
|
<a><%= l(:label_contest_innovate) %></a> >
|
|
|
|
|
<span title="<%= @contest.name%>">
|
|
|
|
|
<%= link_to h(truncate(@contest.name, length: 20, omission: '...')), show_contest_contest_path(@contest) %>
|
|
|
|
|
</span>
|
|
|
|
|
<td>
|
|
|
|
|
<%=link_to l(:field_homepage), home_path %> >
|
|
|
|
|
<a>
|
|
|
|
|
<%= l(:label_contest_innovate) %>
|
|
|
|
|
</a> >
|
|
|
|
|
<span title="<%= @contest.name%>">
|
|
|
|
|
<%= link_to h(truncate(@contest.name, length: 20, omission: '...')), show_contest_contest_path(@contest) %>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
@ -89,7 +94,7 @@
|
|
|
|
|
<div class="spaceleft">
|
|
|
|
|
<div class="inf_user_image">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<tr style="line-height: normal;">
|
|
|
|
|
<td align="left" width="100px">
|
|
|
|
|
<%= image_tag(url_to_avatar(@user), :class => "avatar2") %>
|
|
|
|
|
</td>
|
|
|
|
@ -137,7 +142,7 @@
|
|
|
|
|
<!-- 参与人和参与项目的数量显示 -->
|
|
|
|
|
<div class="user_fans">
|
|
|
|
|
<table width="240" border="0">
|
|
|
|
|
<tr align="center" width="80px">
|
|
|
|
|
<tr align="center" width="80px" style="line-height: normal;">
|
|
|
|
|
<!--关注人数-->
|
|
|
|
|
<td class="font_index">
|
|
|
|
|
<span id="watcher_count_span">
|
|
|
|
@ -152,27 +157,27 @@
|
|
|
|
|
<%=link_to "#{@contest.contesting_softapplications.count}",show_attendingcontest_contest_path(@contest) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="font_aram">
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_contest_watchers) %></td>
|
|
|
|
|
<td align="center" width="70px"> <%= l(:label_contest_work) %></td>
|
|
|
|
|
|
|
|
|
|
<td align="center" width="70px">
|
|
|
|
|
<%= l(:label_contest_watchers) %>
|
|
|
|
|
</td>
|
|
|
|
|
<td align="center" width="70px">
|
|
|
|
|
<%= l(:label_contest_work) %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
|
|
|
|
|
<div class="inf_user_context">
|
|
|
|
|
<div class="inf_user_context" style="line-height: normal;margin-top: 10px;">
|
|
|
|
|
<div class="font_title_left">
|
|
|
|
|
<%= l(:label_project_overview) %>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-bottom: 8px">
|
|
|
|
|
<% if @contest.description.size>0 %>
|
|
|
|
|
<div class="font_lighter_sidebar">
|
|
|
|
|
|
|
|
|
|
<%= textilizable @contest.description %>
|
|
|
|
|
</div>
|
|
|
|
|
<% else %>
|
|
|
|
@ -205,7 +210,9 @@
|
|
|
|
|
<div class="user_fans">
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
<div class="font_title_left">
|
|
|
|
|
<strong><%= l(:label_x_followers, :count => @contest.watcher_users.count) %></strong>
|
|
|
|
|
<strong>
|
|
|
|
|
<%= l(:label_x_followers, :count => @contest.watcher_users.count) %>
|
|
|
|
|
</strong>
|
|
|
|
|
<% if show_more_fans?(@contest) %>
|
|
|
|
|
<span style="display:inline-block; font-size: 12px; float:right; margin-bottom: -4px;"><%= link_to l(:label_more), show_contest_user_contest_path(@contest) %></span>
|
|
|
|
|
<% end %>
|
|
|
|
@ -234,9 +241,15 @@
|
|
|
|
|
<% if display_main_menu?(@contest) %>
|
|
|
|
|
<div class="tabs_new">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><%= link_to l(:label_contest_notification), contest_contestnotifications_path(@contest), :class => link_class(:contestnotifications) %></li>
|
|
|
|
|
<li><%= link_to l(:label_contest_joincontest), show_attendingcontest_contest_path(@contest), :class => link_class(:attendingcontests) %></li>
|
|
|
|
|
<li><%= link_to l(:label_contest_userresponse), show_contest_contest_path(@contest), :class => link_class(:respond) %></li>
|
|
|
|
|
<li>
|
|
|
|
|
<%= link_to l(:label_contest_notification), contest_contestnotifications_path(@contest), :class => link_class(:contestnotifications) %>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<%= link_to l(:label_contest_joincontest), show_attendingcontest_contest_path(@contest), :class => link_class(:attendingcontests) %>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<%= link_to l(:label_contest_userresponse), show_contest_contest_path(@contest), :class => link_class(:respond) %>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
@ -251,7 +264,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="ajax-indicator" style="display:none;">
|
|
|
|
|
<span><%= l(:label_loading) %></span>
|
|
|
|
|
<span>
|
|
|
|
|
<%= l(:label_loading) %>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="ajax-modal" style="display:none;"></div>
|
|
|
|
|
|
|
|
|
|