From 4e78c7c7445070c061be62c31391bf8abf79ed0c Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 28 Jun 2019 14:37:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E6=96=87=E5=BA=93?= =?UTF-8?q?=E7=9A=84=E6=8F=90=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_logined_header.html.erb | 2 +- app/views/libraries/_form.html.erb | 23 ++++++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/app/views/layouts/_logined_header.html.erb b/app/views/layouts/_logined_header.html.erb index 077ef249..0101b2a8 100644 --- a/app/views/layouts/_logined_header.html.erb +++ b/app/views/layouts/_logined_header.html.erb @@ -18,6 +18,7 @@ <% end %> +
  • "><%= link_to '文库', libraries_path %>
  • "><%= link_to "竞赛", competitions_path %>
  • "><%= link_to "问答", forums_path %>
  • <% if User.current.ec_school.present? %> @@ -25,7 +26,6 @@ <%= link_to "认证", department_ecs_path(:school_id => User.current.ec_school) %> <% end %> -
  • "><%= link_to '文库', libraries_path %>