From 68240c6f8f84ec6d2822c37e2e72feba32a0c613 Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Tue, 20 Aug 2013 20:00:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/bids/_bid_show.html.erb | 40 +++++++++++++++++-- public/stylesheets/application.css | 6 +++ .../stylesheets/application.css | 6 +++ 3 files changed, 49 insertions(+), 3 deletions(-) diff --git a/app/views/bids/_bid_show.html.erb b/app/views/bids/_bid_show.html.erb index c76043317..35a1b3a40 100644 --- a/app/views/bids/_bid_show.html.erb +++ b/app/views/bids/_bid_show.html.erb @@ -1,6 +1,6 @@ - + -<% bids.each do |bid|%> + + + + +<% bids.each do |bid|%> + + + + + + +
<%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %> + + + + + + + + + + +
<%= link_to(bid.author, user_path(bid.author)) %> 发布了 <%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %>
<%= l(:label_price) %><%= l(:label_RMB_sign) %><%= bid.budget%>
+ <%= bid.description%> +
+ + + + +
<%= l(:label_competitive_bidding) %>(<%= link_to bid.biding_projects.count, project_for_bid_path(bid),:class=> "bids_user" %>)
<%= l(:label_responses) %>(<%= link_to bid.commit, respond_path(bid),:class=> "bids_user" %>)
<%= l(:label_followers) %>(<%= link_to bid.watcher_users.count, respond_path(bid),:class=> "bids_user" %>)
截止时间 : <%= format_time bid.created_on %>
+<% end %> +