2014-04-03 22:38:18 +08:00
|
|
|
|
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
|
|
|
|
|
<div style="margin-left: 20px;">
|
2014-09-17 14:58:13 +08:00
|
|
|
|
<span class="portrait">
|
|
|
|
|
<%= image_tag(url_to_avatar(@contest.author), :class => "avatar")%>
|
|
|
|
|
</span>
|
2014-04-03 22:38:18 +08:00
|
|
|
|
<span class="body">
|
2014-09-12 16:45:03 +08:00
|
|
|
|
<h3>
|
|
|
|
|
<%= link_to(@contest.author.lastname+@contest.author.firstname,
|
|
|
|
|
user_path(@contest.author))
|
|
|
|
|
%>
|
|
|
|
|
:<%= @contest.name %></h3>
|
2014-04-03 22:38:18 +08:00
|
|
|
|
<p>
|
2014-09-12 16:45:03 +08:00
|
|
|
|
<strong>
|
|
|
|
|
<%= l(:label_bids_reward_method) %>
|
|
|
|
|
<span class="bonus">
|
|
|
|
|
<%= @contest.budget%>
|
|
|
|
|
</span>
|
|
|
|
|
</strong>
|
2014-04-03 22:38:18 +08:00
|
|
|
|
</p>
|
2014-08-28 17:30:08 +08:00
|
|
|
|
<div class="bid_description" style="width: 100%;word-break:break-all;word-wrap: break-word;">
|
2014-04-03 22:38:18 +08:00
|
|
|
|
<%= @contest.description %>
|
|
|
|
|
</div>
|
|
|
|
|
<span id="praise_tread" style="float: right">
|
|
|
|
|
<%= render :partial => "/praise_tread/praise_tread",
|
2014-09-12 16:45:03 +08:00
|
|
|
|
:locals => {:obj => @contest,
|
|
|
|
|
:show_flag => true,
|
|
|
|
|
:user_id =>User.current.id,
|
|
|
|
|
:horizontal => false}
|
|
|
|
|
%>
|
2014-04-03 22:38:18 +08:00
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div style="clear: both;"></div>
|
|
|
|
|
|
|
|
|
|
<div id="history">
|
2014-09-12 16:45:03 +08:00
|
|
|
|
<%= render :partial => 'history',
|
|
|
|
|
:locals => { :contest => @contest, :journals => @jour, :state => false}
|
|
|
|
|
%>
|
2014-04-03 22:38:18 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="pagination" style="float:left;">
|
|
|
|
|
<ul>
|
|
|
|
|
<%= pagination_links_full @feedback_pages %>
|
2014-05-08 15:27:16 +08:00
|
|
|
|
</ul>
|
2014-04-03 22:38:18 +08:00
|
|
|
|
</div>
|
|
|
|
|
|