From b0c813df69175e52ece705d35533369a207c175b Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Mon, 12 Aug 2013 16:17:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=89=80=E6=9C=89=E7=9A=84=E5=88=98?= =?UTF-8?q?=E8=A1=A8=E6=A8=AA=E7=BA=BF=E6=94=B9=E6=88=90=E4=B8=8B=E5=88=92?= =?UTF-8?q?=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/news/index.html.erb | 2 +- app/views/users/info.html.erb | 2 +- app/views/users/show.html.erb | 2 +- app/views/users/user_projects.html.erb | 4 ++-- app/views/users/watch_bids.html.erb | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index a558c4840..087ec67cd 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -39,7 +39,7 @@

<%= l(:label_no_data) %>

<% else %> <% @newss.each do |news| %> - +
<%= image_tag(url_to_avatar(news.author), :class => "avatar") %> diff --git a/app/views/users/info.html.erb b/app/views/users/info.html.erb index 9ebafd836..a92a3ca24 100644 --- a/app/views/users/info.html.erb +++ b/app/views/users/info.html.erb @@ -2,7 +2,7 @@ <% unless @message.empty? %>
<% @message.each do |e| -%> -
+
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 3d2f5c142..8bdf06654 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -2,7 +2,7 @@
<% @activity.each do |e| %> <% act = e.act %> -
<%= link_to image_tag(url_to_avatar(e.user), :class => "avatar"), user_path(e.user), :class => "avatar" %>
+
diff --git a/app/views/users/user_projects.html.erb b/app/views/users/user_projects.html.erb index 307eb9493..c515cea3d 100644 --- a/app/views/users/user_projects.html.erb +++ b/app/views/users/user_projects.html.erb @@ -3,8 +3,8 @@ <% unless @memberships.empty? %>
    <% for membership in @memberships %> -
  • -
<%= link_to image_tag(url_to_avatar(e.user), :class => "avatar"), user_path(e.user_id), :class => "avatar" %>
+
  • +
  • <%= link_to image_tag(url_to_avatar(membership.project), :class => 'avatar') %> diff --git a/app/views/users/watch_bids.html.erb b/app/views/users/watch_bids.html.erb index 5883dee2c..16f979f6a 100644 --- a/app/views/users/watch_bids.html.erb +++ b/app/views/users/watch_bids.html.erb @@ -6,7 +6,7 @@ <% for bid in @bid%> - +
    <%= link_to image_tag(url_to_avatar(bid.author), :class => 'avatar'), :class => "avatar" %>