From eaa9c9429016fceb4ea9955fa7827a63fcc11393 Mon Sep 17 00:00:00 2001 From: z9hang Date: Mon, 19 May 2014 12:00:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=B7=B1=E7=9A=84=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=B9=9F=E4=B8=8D=E7=8E=B0=E5=AE=9E=E9=82=AE?= =?UTF-8?q?=E7=AE=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_users.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/base_users.html.erb b/app/views/layouts/base_users.html.erb index 1220a529c..99971e0f3 100644 --- a/app/views/layouts/base_users.html.erb +++ b/app/views/layouts/base_users.html.erb @@ -158,12 +158,12 @@ <%= l(:label_user_login) %>:<%= format_time(@user.last_login_on) %> - <% if User.current == @user %> + <% unless @user.user_extensions.nil? %>