module RedminePrefabricatedResponses
  class Hooks < Redmine::Hook::ViewListener
    def view_layouts_base_html_head(context)
      stylesheet_link_tag("prefabricated_responses", :plugin => "redmine_prefabricated_responses")
    end

    # adds a link in the sidebar of the main issue page
    render_on :view_issues_sidebar_queries_bottom, :partial => 'hooks/view_sidebar_manage_responses'
  end
end
