通知详情不能编辑和删除

This commit is contained in:
cxt 2016-12-24 21:00:42 +08:00
parent 4067a9c4a7
commit 5cf5c5f421
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<%= link_to image_tag(url_to_avatar(@news.author),:width=>50,:height => 50,:alt=>'图像' ),user_path(@news.author) %>
</div>
<div class="postThemeWrap">
<% if User.current.allowed_to?(:manage_news, @contest)%>
<% if User.current.logged?%>
<div class="homepagePostSetting" id="message_setting_<%= @news.id%>" style="display: none">
<ul>
<li class="homepagePostSettingIcon">