From 67380d58d4fcd7be9fb64afa5d8452e2c41933af Mon Sep 17 00:00:00 2001 From: txz Date: Tue, 10 May 2016 15:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=9A=E5=AE=A2=E9=94=81=E5=AE=9A=E7=BD=AE?= =?UTF-8?q?=E9=A1=B6=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_user_blog.html.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/users/_user_blog.html.erb b/app/views/users/_user_blog.html.erb index 2fcf94a13..00ff3c10c 100644 --- a/app/views/users/_user_blog.html.erb +++ b/app/views/users/_user_blog.html.erb @@ -16,13 +16,13 @@
<%= link_to activity.title.to_s, user_blog_blog_comment_path(:user_id=>activity.author_id,:blog_id=>activity.blog_id,:id=>activity.id,:in_act => true), :class => "postGrey" %> + <% if activity.locked%> +       + <% end%> + <% if activity.sticky == 1%> + 置顶 + <% end%>
- <% if activity.sticky == 1%> - 置顶 - <% end%> - <% if activity.locked%> -        - <% end%>