<% reply_allow = JournalsForMessage.create_by_user? User.current %> <div style="margin-left: 20px;"> <span class="portrait"> <%= image_tag(url_to_avatar(@bid.author), :class => "avatar")%> </span> <span class="body" style="word-break: break-all;word-wrap: break-word;"> <h3> <%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%>: <%= link_to(@bid.name,respond_path(@bid)) %> </h3> <% if @bid.reward_type.nil? or @bid.reward_type == 1%> <p> <strong> <%= l(:label_bids_reward_method) %> <span class="bonus"> <%= l(:label_call_bonus) %> <%= l(:label_RMB_sign) %> <%= @bid.budget %> </span> </strong> </p> <% elsif @bid.reward_type == 2%> <p> <strong> <%= l(:label_bids_reward_method) %> <span class="bonus"> <%= @bid.budget%> </span> </strong> </p> <% else %> <% end %> <div class="bid_description"> <%= textilizable(@bid, :description) %> <% if @bid.attachments.any?%> <% options = {:author => true,:deletable => (@bid.author.id == User.current.id || User.current.admin? ? true : false)} %> <%= render :partial => 'attachments/links', :locals => {:attachments => @bid.attachments, :options => options} %> <% end %> </div> </span> </div> <div style="clear: both;"></div> <div id="history"> <%= render :partial => 'history', :locals => { :bid => @bid, :journals => @jour, :state => false} %> </div> <div class="pagination" style="float:left;"> <ul> <%= pagination_links_full @feedback_pages %> </ul> </div>