From e2546cdcb73415fc8c7882ef229301d320697f87 Mon Sep 17 00:00:00 2001 From: cxt Date: Wed, 27 Jul 2016 17:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=80=E8=AF=B7=E7=A0=81=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_course_base_info.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/_course_base_info.html.erb b/app/views/layouts/_course_base_info.html.erb index f7cd26b03..14e7d81ae 100644 --- a/app/views/layouts/_course_base_info.html.erb +++ b/app/views/layouts/_course_base_info.html.erb @@ -32,12 +32,12 @@ <%= image_tag(url_to_avatar(@course), :width => "110", :height => "110", :alt => "班级logo") %>
-

邀请码
+

邀 请 码
<% if User.current.admin? || User.current.member_of_course?(@course) %> <%=@course.generate_invite_code %> <% else %> - ***** + 请咨询老师 <% end %>