From ece979efd1732827a41c36999f2832566d6b6bbb Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 6 Feb 2017 18:10:42 -0500 Subject: [PATCH] add tags to webcrawler view of a topic in an ItemList --- app/views/topics/show.html.erb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index e72ebb1a00c..e3e785685c9 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -18,6 +18,23 @@ <% end %> +<% if SiteSetting.tagging_enabled %> + <% @tags = @topic_view.topic.tags %> + <% if @tags.present? %> +
+ <% @tags.each do |tag| %> +
+ + + <%= tag.name -%> + +
+ <% end %> +
+ <% end %> +<% end %> + + <%= server_plugin_outlet "topic_header" %>