From 2af1c2ed909b6be2a6bf5992da305eb0913823da Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Tue, 20 Aug 2013 20:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=88=97=E8=A1=A8=E6=97=A0?= =?UTF-8?q?=E2=80=9C=E5=85=B3=E6=B3=A8=E2=80=9D=E3=80=81=E2=80=9C=E5=BA=94?= =?UTF-8?q?=E6=A0=87=E9=A1=B9=E7=9B=AE=E2=80=9D=E6=97=B6=EF=BC=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=9A=82=E6=97=A0...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_bids.html.erb | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/base_bids.html.erb b/app/views/layouts/base_bids.html.erb index fa2ed69aa..5766ad812 100644 --- a/app/views/layouts/base_bids.html.erb +++ b/app/views/layouts/base_bids.html.erb @@ -87,8 +87,13 @@ @@ -105,9 +110,14 @@
+ <% if @bid.watcher_users.size>0 %> <% for user in @bid.watcher_users%> + <%= link_to image_tag(url_to_avatar(user), :class => "avatar", :title => user.name ), user_path(user), :class => "avatar" %> + <% end %> + <% else %> +

<%="该项目暂未被关注" %>

<% end%>
+ <% end%> + <% else %> +

<%="暂无应标项目" %>

+ <% end %> +
- <% for project in @bid.projects%> + <% if @bid.projects.size>0 %> + <% for project in @bid.projects%> <%= link_to image_tag(url_to_avatar(project), :class => "avatar", :title => project.name), project_path(project), :class => "avatar" %> - <% end%>