Sha256: 838c457d9a316b4b044d3c1b1c169ec7d7b50023bc378cfbf809e1ba107f6a14
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 Bytes
Contents
module Admin::FeedbackHelper def comment_class state (state.to_s =~ /Ham/) ? 'published' : 'unpublished' end def show_actions item html = <<-HTML <div class='action' style='margin-top: 10px;'> <small>#{link_to _("Show conversation"), :controller => 'feedback', :action => 'article', :id => item.article_id}</small> | <small>#{link_to _("Delete"), :action => 'destroy', :id => item.id}</small> </div> HTML end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typo-5.5 | app/helpers/admin/feedback_helper.rb |
typo-5.4.4 | app/helpers/admin/feedback_helper.rb |