From a0683d4900b9c2118df962a825f33ca9c3fcf287 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Tue, 27 Oct 2015 15:17:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E8=AF=BE=E7=A8=8B=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E8=BE=93=E5=85=A5=E6=A1=86=E6=B2=A1=E6=9C=89=E5=AF=B9?= =?UTF-8?q?=E9=BD=90=20=E5=8D=9A=E5=AE=A2=E5=85=B3=E6=B3=A8=E7=B2=89?= =?UTF-8?q?=E4=B8=9D=E6=96=87=E5=AD=97=E4=B9=9F=E8=A6=81=E5=8A=A0=E8=B6=85?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/courses/_join_private_course.html.erb | 4 ++-- app/views/layouts/new_base_user.html.erb | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/app/views/courses/_join_private_course.html.erb b/app/views/courses/_join_private_course.html.erb index 5748d981e..d37feeb57 100644 --- a/app/views/courses/_join_private_course.html.erb +++ b/app/views/courses/_join_private_course.html.erb @@ -62,13 +62,13 @@
  • - 课 程 ID: + 课 程 ID:
  • 课程ID是所在课程网址中显示的序号
  • - 密      码: + 密      码:
  • diff --git a/app/views/layouts/new_base_user.html.erb b/app/views/layouts/new_base_user.html.erb index f5a8c2169..7b951f152 100644 --- a/app/views/layouts/new_base_user.html.erb +++ b/app/views/layouts/new_base_user.html.erb @@ -76,21 +76,30 @@ <%= link_to(@user.blog.blog_comments.where("#{BlogComment.table_name}.parent_id is null").count, {:controller => 'blogs', :action => 'index', :user_id => @user.id }, :class => 'homepageImageNumber',:id => 'user_score') %> -
    博客
    +
    + + <%= link_to('博客', + {:controller => 'blogs', :action => 'index', :user_id => @user.id }, :class => 'homepageImageNumber',:id => 'user_score') %> +
    <%= link_to User.watched_by(@user.id).count.to_s, {:controller=>"users", :action=>"user_watchlist",:id=>@user.id},:class=>"homepageImageNumber" %>
    -
    关注
    +
    + <%= link_to '关注', {:controller=>"users", :action=>"user_watchlist",:id=>@user.id},:class=>"homepageImageNumber" %> +
    <%= link_to @user.watcher_users.count.to_s, {:controller=>"users", :action=>"user_fanslist",:id=>@user.id},:class=>"homepageImageNumber", :id => "user_fans_number"%>
    -
    粉丝
    +
    + + <%= link_to '粉丝', {:controller=>"users", :action=>"user_fanslist",:id=>@user.id},:class=>"homepageImageNumber", :id => "user_fans_number"%> +