Sha256: fe0c2614da84bec2fdd5be69b86469f7f7dba187579ba2f626336ec071bce0d7

Contents?: true

Size: 884 Bytes

Versions: 6

Compression:

Stored size: 884 Bytes

Contents

- if translations_changes.empty?
  .alert.alert-info
    = t('.no_matches')
- else
  %table.table.table-striped.table-bordered
    %thead
      %tr
        %th
          = t('.key')
        %th
          = t('.locale')
        %th
          = t('.user')
        %th
          = t('.changes')
        %th
          = t('.time')

    %tbody
      - translations_changes.each do |change|
        %tr
          %td
            = link_to change.auditable.key.name, change.auditable.key, target: '_blank'
          %td
            = change.auditable.lang
          %td
            = change.user.email
          %td
            %ul
              - change.audited_changes.each do |change, value|
                %li
                  = format_change(change, value)
          %td
            = time_ago_in_words change.created_at
            = t('.ago')

  = will_paginate translations_changes

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
translation_center-0.0.6 app/views/translation_center/center/_activity.html.haml
translation_center-0.0.5 app/views/translation_center/center/_activity.html.haml
translation_center-0.0.4 app/views/translation_center/center/_activity.html.haml
translation_center-0.0.3 app/views/translation_center/center/_activity.html.haml
translation_center-0.0.2 app/views/translation_center/center/_activity.html.haml
translation_center-0.0.1 app/views/translation_center/center/_activity.html.haml