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%>