def tag_listing(tags, tagging_type = "message")
    return unless tagging_type == "doc"
    tags.each do |tag|
      concat content_tag(:span, tag, class: "label label-#{tagging_type}-tagging label-#{tag.first.downcase} #{'pull-right' if tagging_type == 'message'}")