From a9cfeb6a9ac896e1ba8293722d16742df3f51a55 Mon Sep 17 00:00:00 2001 From: fanqiang <316257774@qq.com> Date: Tue, 13 Aug 2013 00:02:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E4=B8=AD=E6=B2=A1=E5=86=85=E5=AE=B9=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/show.html.erb | 2 +- app/views/users/info.html.erb | 5 ++++- app/views/users/watch_bids.html.erb | 12 +++++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 2b41343af..c80b150ef 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -2,7 +2,7 @@

<%= issue_heading(@issue) %>

-> +
<% if @prev_issue_id || @next_issue_id %> diff --git a/app/views/users/info.html.erb b/app/views/users/info.html.erb index a92a3ca24..20d82c5f2 100644 --- a/app/views/users/info.html.erb +++ b/app/views/users/info.html.erb @@ -45,9 +45,12 @@ <% end %>
-<% end %> +<% else %> +暂无任何用户对您进行反馈 +<% end %> + diff --git a/app/views/users/watch_bids.html.erb b/app/views/users/watch_bids.html.erb index ce350624f..927aced4c 100644 --- a/app/views/users/watch_bids.html.erb +++ b/app/views/users/watch_bids.html.erb @@ -1,18 +1,17 @@ - -
+<% if @bid.size > 0%> <% for bid in @bid%> - +
<%= link_to image_tag(url_to_avatar(bid.author), :class => 'avatar'), :class => "avatar" %> - +
<%= link_to(bid.author, user_path(bid.author), :class => 'bid_user') %>:<%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %><%= link_to(bid.author, user_path(bid.author), :class => 'bid_user') %>: <%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %>
@@ -46,4 +45,7 @@
    <%= pagination_links_full @bid_pages %>
      - \ No newline at end of file + +<% else %> +暂未关注任何需求 +<% end %>