# File lib/kwala/actions/flagged_comments.rb, line 67 def summary_display(context) template = TemplateFile.new(self.class.summary_template_file) ares = COMMENTFLAGS.map do |ctype| { :type => ctype, :count => @comment_count[ctype].size } end context.amrita_data[:com_results] = { :entry => ares } loc_base = "#{context.project_name}_com.html" context.amrita_data[:com_details] = (Amrita::e(:a, :href => loc_base) { "Flagged Comments Details" } ) summary_expand(template, context) end