diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index 182f48818..e4eaf680d 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -9,7 +9,11 @@ #<%=post.post_number%> <%= t 'by'%>: <%= post.user.name %>, <%= post.created_at.to_formatted_s(:long_ordinal) %>
- <%= post.cooked.html_safe %> + <% if post.hidden %> + <%= t('flagging.user_must_edit').html_safe %> + <% else %> + <%= post.cooked.html_safe %> + <% end %>

<% end %> diff --git a/app/views/topics/show.rss.erb b/app/views/topics/show.rss.erb index c5a9fd9e5..67df5fd65 100644 --- a/app/views/topics/show.rss.erb +++ b/app/views/topics/show.rss.erb @@ -20,7 +20,11 @@ <% post_url = Discourse.base_url + post.url %>

<%= t('author_wrote', author: link_to(post.user.name, userpage_url(post.user.username_lower))).html_safe %>

- <%= post.cooked.html_safe %> + <% if post.hidden %> + <%= t('flagging.user_must_edit').html_safe %> + <% else %> + <%= post.cooked.html_safe %> + <% end %>

<%= link_to t('read_full_topic'), post_url %>

]]>