From 0c8e1e19e623abb3dbac0df10cd771dfbc2ede27 Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Tue, 31 Dec 2013 15:36:35 +0800 Subject: [PATCH] =?UTF-8?q?"=E8=BD=AF=E4=BB=B6=E4=BC=97=E5=8C=85"=E5=92=8C?= =?UTF-8?q?=E2=80=9C=E5=88=9B=E6=96=B0=E7=AB=9E=E8=B5=9B=E2=80=9D=E4=B8=AD?= =?UTF-8?q?=E2=80=9C=E5=85=B3=E6=B3=A8=E2=80=9D=E5=8F=8A=E5=89=8D=E9=9D=A2?= =?UTF-8?q?=E6=98=9F=E5=8F=B7=E7=9A=84=E9=9A=90=E8=97=8F=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_bids.html.erb | 2 +- app/views/layouts/base_contest.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/base_bids.html.erb b/app/views/layouts/base_bids.html.erb index 5c680ce9b..e212617f8 100644 --- a/app/views/layouts/base_bids.html.erb +++ b/app/views/layouts/base_bids.html.erb @@ -69,7 +69,7 @@ <%= h @bid.name %> - <% if ( !(User.current.member_of? @project) && User.current.login?) %> + <% if User.current.login? %> <%= link_to(l(:label_fork_homework_new), fork_path(@bid)) %> diff --git a/app/views/layouts/base_contest.html.erb b/app/views/layouts/base_contest.html.erb index 5dc4e7574..b62ef96fc 100644 --- a/app/views/layouts/base_contest.html.erb +++ b/app/views/layouts/base_contest.html.erb @@ -60,7 +60,7 @@ <%= h @bid.name %> - <% if ( !(User.current.member_of? @project) && User.current.login?) %> + <% if User.current.login? %> <%= join_in_contest(@bid, User.current)%>