From 41ee915ece7361d90b2fd3ca47d0b30b76f1ee3c Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Sun, 9 Oct 2016 16:55:41 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=B8=AE=E5=8A=A9=E4=B8=AD=E5=BF=83=EF=BC=8C?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=92=8C=E5=BB=BA=E8=AE=AE=E6=8A=A5500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_base_feedback.html.erb | 3 +++ app/views/layouts/_base_footer_public.html.erb | 3 +++ app/views/layouts/_footer.html.erb | 3 ++- app/views/layouts/_forbidden_new_feedback.html.erb | 3 +++ app/views/layouts/_logined_header_show.html.erb | 3 +++ app/views/layouts/_new_feedback.html.erb | 4 +++- app/views/layouts/_org_custom_footer.html.erb | 3 +++ app/views/layouts/_org_subdomain_footer.html.erb | 3 +++ app/views/layouts/_unlogin_header.html.erb | 3 +++ app/views/layouts/base_org.html.erb | 3 +++ app/views/layouts/base_org2.html.erb | 4 +++- app/views/layouts/base_org_newstyle.html.erb | 3 +++ app/views/layouts/base_organization.html.erb | 3 +++ app/views/organizations/_org2_footer.html.erb | 3 +++ app/views/sub_domains/show.html.erb | 3 +++ 15 files changed, 44 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/_base_feedback.html.erb b/app/views/layouts/_base_feedback.html.erb index 9fe25ce95..7721eeb0d 100644 --- a/app/views/layouts/_base_feedback.html.erb +++ b/app/views/layouts/_base_feedback.html.erb @@ -158,6 +158,8 @@ function cookieget(n) }) +<% forum = Forum.where(:id => 1).first %> +<% unless forum.nil? %>