From 714deebe21630db97fcc6e3ef4545478a2488018 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 4 May 2016 14:08:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_sub_domain.html.erb | 52 ++++++++++++---------- public/stylesheets/org2.css | 9 ++-- 2 files changed, 33 insertions(+), 28 deletions(-) diff --git a/app/views/layouts/base_sub_domain.html.erb b/app/views/layouts/base_sub_domain.html.erb index bf4d70e32..445999e97 100644 --- a/app/views/layouts/base_sub_domain.html.erb +++ b/app/views/layouts/base_sub_domain.html.erb @@ -32,11 +32,17 @@ @@ -83,15 +89,15 @@ <% if is_default_field?(field) %> <% case field.name %> <% when 'activity' %> - <% when 'course' %> - <% when 'project' %> - <% end %> @@ -100,8 +106,20 @@ - 6666666666666 - + + <% elsif field.field_type == "Resource" && field.hide == 0 %>