Sha256: a08ce32c1e8bc7ca708248cb35b3680643ded31f68c4732588a62062383c9869
Contents?: true
Size: 944 Bytes
Versions: 5
Compression:
Stored size: 944 Bytes
Contents
.header.container .row .col-lg-12 .page-header %h1 Translation stats %p.lead.text-muted - if Settings.log_key_usage == 'true' = 'Translation usage stat gathering is ON' - else = 'Translation usage stat gathering is OFF' %p.lead.text-muted = link_to 'Back to Translation list', {action: :index} .container .row .col-lg-12 %table.table %thead %tr %th Usage %th Key %th text %tbody - @used_keys.each do |key, usage| - begin %tr %td= usage %td= key.to_s.gsub('usage_stats/en/', '') %td= CGI::unescapeHTML(CGI::escapeHTML(t(key.to_s.gsub('usage_stats/en/', '')))) - rescue => e %tr %td= "err #{usage}" %td= key %td= e.message
Version data entries
5 entries across 5 versions & 1 rubygems