From 8e60bce903628d31c7d82fe8d1add14d16f2c132 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Wed, 8 Sep 2021 11:03:55 +0200 Subject: [PATCH] FIX: Always show the creation date of posts in crawler view (#14269) The modification date should always be a meta tag to make this less confusing. Especially for imported posts. That's more in line with how the rest of Discourse presents post dates. --- app/views/topics/show.html.erb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index 9d391f7cb7f..c1957ea31f6 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -66,16 +66,13 @@ <% end %> - <% if post.updated_at > post.created_at %> - - - <% else %> - + <% if post.version > 1 %> + + <% else %> + <% end %> #<%= post.post_number %>