From 17a2686d42c84f6c265fadd03a86491e099acd50 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 5 Jul 2016 11:22:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E5=B7=A6=E4=BE=A7=E5=A4=B4?= =?UTF-8?q?=E9=83=A8=E4=BF=A1=E6=81=AF=E7=9A=84=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_project_info.html.erb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/_project_info.html.erb b/app/views/layouts/_project_info.html.erb index 4b49562c2..c0366ec39 100644 --- a/app/views/layouts/_project_info.html.erb +++ b/app/views/layouts/_project_info.html.erb @@ -16,12 +16,11 @@ <% end %>
- <%=@course.is_public == 0 ? '(私有)' : '(公开)' %> -
-
+ <%=@course.is_public == 0 ? '(私有)' : '(公开)' %> <% if is_excellent_course(@course) %> - 精品课程 + 精品课程 <% end %> +
<% unless is_teacher %>