问卷动态不显示的缺陷修复

This commit is contained in:
cxt 2015-09-06 17:40:55 +08:00
parent 8ecf70588d
commit 7a28a65807
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<% has_commit = has_commit_poll?(activity.id ,User.current)%>
<% poll_name = activity.polls_name.empty? ? l(:label_poll_new) : activity.polls_name%>
<% if has_commit || activity.user_id == User.current %>
<% if ( activity.polls_status==2) %>
<div class="resources mt10">
<div class="homepagePostBrief">
<div class="homepagePostPortrait">