From b6a2be72e42c9dba008ec5e16722c514ed201562 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 19 Aug 2015 15:13:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4CSS=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=9B=BE=E7=89=87=EF=BC=8C=E5=AE=9E=E7=8E=B0=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=8A=9F=E8=83=BD=E5=8A=A8=E6=80=81=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/new_base_user.html.erb | 60 ++++++++++++++++++----- public/images/homepage_icon.png | Bin 5479 -> 6191 bytes public/stylesheets/new_public.css | 4 +- 3 files changed, 50 insertions(+), 14 deletions(-) diff --git a/app/views/layouts/new_base_user.html.erb b/app/views/layouts/new_base_user.html.erb index 3f5e2eb25..550f6653f 100644 --- a/app/views/layouts/new_base_user.html.erb +++ b/app/views/layouts/new_base_user.html.erb @@ -30,12 +30,13 @@
这位童鞋很懒,什么也没有留下~ - - - -
+ <% if @user.user_extensions && @user.user_extensions.brief_introduction && !@user.user_extensions.brief_introduction.empty? %> ++ <%= @user.user_extensions.brief_introduction %> + + + +
+ <% else%> + <% if User.current == @user%> ++ 这位童鞋很懒,什么也没有留下~ + + + +
+ <% end%> + <% end %>5;0c4bxlpsNdT(bf+plIqR z&_4;KAK0mqa3*0t_jNUM<$lyPsu<6CY>Z4H<`1lAo+uSvufP5p;*Ds0aP<*J>h&t= z+q>GCZfon6*%kop$!?&bp|Nl%AGkb{pmwC5l}#W$S38X}mE=%qf|@jf>dH+Rjm6D( z0Aq2}oz97l(@F+#t)Tupq1nNQ?}dV`u?ahN+U5tn9HKm5YXS*hJN(MVGP*1?hem?K zv}3;$iu$%qj;3tgk!1JHAnuf9J$xlvjy-B|g5;s09J9?cUc=x@({~`Xc kze;j VhvCF4|85;M)i$n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