|
|
|
@ -138,7 +138,7 @@
|
|
|
|
|
<span style="margin-top: -20px;float: right; display: block;"><%= link_to "更多>>", {:controller => 'contests', :action => 'index', :host => Setting.contest_domain}, :target => "_blank" %></span>
|
|
|
|
|
<div class="d-p-projectlist-box">
|
|
|
|
|
<div class="d-p-projectlist">
|
|
|
|
|
<% find_all_hot_contest.map do |contest| break if(contest == find_all_hot_contest[5]) %>
|
|
|
|
|
<% find_all_hot_contest.map do |contest| break if(contest == find_all_hot_contest[8]) %>
|
|
|
|
|
|
|
|
|
|
<li style="position:relative;height:6em;" class='<%= cycle("odd", "even") %>'>
|
|
|
|
|
<div class="avatar-4"; style="float: left; margin-top: 7px">
|
|
|
|
@ -146,7 +146,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div style="float: left; margin-left: -8px; margin-top: 5px; width: 380px;">
|
|
|
|
|
<%= link_to(contest.name, show_contest_contest_path(contest.id), :class => "d-g-blue d-p-project-name", :title => "#{contest.name}", :target => "_blank") %>
|
|
|
|
|
<%= link_to(contest.name, contest.event_url, :class => "d-g-blue d-p-project-name", :title => "#{contest.name}", :target => "_blank") %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class='text_nowrap' style="float: left;margin:5px; margin-left: -8px; width: 380px;">
|
|
|
|
@ -154,8 +154,7 @@
|
|
|
|
|
</div><br />
|
|
|
|
|
|
|
|
|
|
<div style="padding-left: 36px; clear: left;">
|
|
|
|
|
<!-- <span class="font_lighter"><%= l(:label_contest_project, :count => contest.contesting_projects.count) %>(<strong><span style="font-size: 17px"><%= link_to(contest.contesting_projects.count, show_project_contest_path(contest)) %></span></strong>)</span>
|
|
|
|
|
<span class="font_lighter"><%= l(:label_contest_softapplication, :count => contest.contesting_softapplications.count) %>(<strong><span style="font-size: 17px"><%= link_to(contest.contesting_softapplications.count, show_softapplication_contest_path(contest)) %></span></strong>)</span> -->
|
|
|
|
|
|
|
|
|
|
<span class="font_lighter">发布时间:<%=format_time contest.created_on %></span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|