Sha256: d63be1e249f465559b049ef04ce02015afa28755d8d4928dc62fc20b5e758984
Contents?: true
Size: 1.1 KB
Versions: 15
Compression:
Stored size: 1.1 KB
Contents
<%= render :partial => "/tr8n/admin/common/header" %> <%= render :partial => "tabs" %> <%= tr8n_will_filter(@messages) %> <%= form_tag("", :id => "topics_form") do %> <%= will_filter_table_tag(@messages, :columns => [:created_at, [:language_id, lambda{|message| if message.language link_to(message.language.english_name, :controller => "/tr8n/admin/language", :action => :view, :lang_id => message.language.id) else "Deleted Language" end }], [:translator_id, lambda{|message| if message.translator link_to(message.translator.name, :controller => "/tr8n/admin/translator", :action => :view, :translator_id => message.translator.id) else "Deleted Translator" end }], :message, [:actions, lambda{|message| actions = [] actions << link_to("Delete", {:action => :delete, :msg_id => message.id}, {:confirm => "Are you sure you want to delete this message?"}) actions.join(" | ").html_safe }, 'white-space: nowrap'] ]) %> <% end %> <%= render :partial => "/tr8n/admin/common/footer" %>
Version data entries
15 entries across 15 versions & 1 rubygems