Sha256: b5cb936be0a47bb7547308e82ff9b8ffdeaa30057d2a49bcbd63df387fe1fe09

Contents?: true

Size: 937 Bytes

Versions: 15

Compression:

Stored size: 937 Bytes

Contents

<%= render :partial => "/tr8n/admin/common/header" %>
<%= render :partial => "tabs" %>
<%= tr8n_will_filter(@metrics) %>

<%= form_tag("", :id => "metrics_form") do %>
  <%= will_filter_table_tag(@metrics, :columns => [
    [:translator_id, lambda{|metric|
      if metric.translator
        link_to(metric.translator.name, :controller => "/tr8n/admin/translator", :action => :view, :translator_id => metric.translator.id)
      else
        "Unknown" 
      end  
    }],
    [:language_id, lambda{|metric|
      if metric.language
        link_to(metric.language.english_name, :controller => "/tr8n/admin/language", :action => :view, :lang_id => metric.language.id)
      else
         "Deleted Language"    
      end  
    }],
    :total_translations, :accepted_translations, :rejected_translations, :total_votes, :positive_votes, :negative_votes, :updated_at
  ]) %>
<% end %>

<%= render :partial => "/tr8n/admin/common/footer" %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tr8n-3.2.3 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.2.2 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.2.1 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.2.0 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.1.8 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.1.7 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.1.6 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.1.5 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.1.4 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.1.3 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.1.2 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.1.1 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.0.5 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.0.3 app/views/tr8n/admin/translator/metrics.html.erb
tr8n-3.0.2 app/views/tr8n/admin/translator/metrics.html.erb