From e5baf0959b15dc69feb4378ac7ba668e35855821 Mon Sep 17 00:00:00 2001 From: baiyu Date: Fri, 15 Nov 2013 10:25:07 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E7=AB=9E=E8=B5=9B=E9=87=8C=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E4=B8=8E=E8=80=85=E5=90=8D=E5=AD=97=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=85=A8=E7=A7=B0=202=E3=80=81=E4=B8=AA=E4=BA=BA=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E9=87=8C=E7=9A=84=E2=80=9C=E5=85=B3=E6=B3=A8=E2=80=9D?= =?UTF-8?q?=E4=B8=8E=E2=80=9C=E7=B2=89=E4=B8=9D=E2=80=9D=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=90=8D=E5=AD=97=E6=98=BE=E7=A4=BA=E5=85=A8=E7=A7=B0=203?= =?UTF-8?q?=E3=80=81=E5=8C=BA=E5=88=AB=E4=BA=86=E2=80=9C=E5=85=B3=E6=B3=A8?= =?UTF-8?q?=E2=80=9D=E9=87=8C=E4=B8=AA=E4=BA=BA=E5=8F=82=E4=B8=8E=E7=9A=84?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=B8=8E=E8=AF=BE=E7=A8=8B=204=E3=80=81?= =?UTF-8?q?=E7=AB=9E=E8=B5=9B=E9=87=8C=E7=9A=84=E5=8F=82=E4=B8=8E=E8=80=85?= =?UTF-8?q?=E7=9A=84=E9=A1=B9=E7=9B=AE=E4=B8=8E=E8=AF=BE=E7=A8=8B=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E7=9A=84=E6=98=BE=E7=A4=BA=E5=81=9A=E5=87=BA=E4=BA=86?= =?UTF-8?q?=E5=8C=BA=E5=88=86=205=E3=80=81=E7=AB=9E=E8=B5=9B=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E4=B8=8E=E8=80=85=E5=88=97=E8=A1=A8=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BA=86=E5=AD=A6=E5=91=98=E5=AD=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 2 +- app/views/bids/show_participator.html.erb | 33 ++++++++++++++++++++--- app/views/users/user_fanslist.html.erb | 8 +++--- app/views/users/user_watchlist.html.erb | 25 +++++++++++++---- 4 files changed, 55 insertions(+), 13 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0d2b44b1b..24fb6ee81 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1404,7 +1404,7 @@ module ApplicationHelper # added by bai def show_more_participate?(obj) - if obj.join_in_contests.count > 12 + if obj.join_in_contests.count > 0 return true else return false diff --git a/app/views/bids/show_participator.html.erb b/app/views/bids/show_participator.html.erb index 6ac248192..3681279b5 100644 --- a/app/views/bids/show_participator.html.erb +++ b/app/views/bids/show_participator.html.erb @@ -6,22 +6,47 @@