This commit is contained in:
r888888888
2017-11-17 14:28:16 -08:00
parent 015db0467c
commit 42c9c71a5f
2 changed files with 7 additions and 1 deletions

View File

@@ -50,6 +50,12 @@ class PostPresenter < Presenter
html << %{</p>}
end
if options[:similarity]
html << %{<p class="desc">}
html << "Similarity: " + options[:similarity].to_s
html << %{</p>}
end
if options[:size]
html << %{<p class="desc">}
html << post.file_size.to_formatted_s(:human_size)