Sha256: ebc0a757c7699afa26ae64bea635729dad28d027c2ebf0576e46fcf786f10499

Contents?: true

Size: 927 Bytes

Versions: 6

Compression:

Stored size: 927 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.try TranslationCenter::CONFIG['identifier_type']
          %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-1.2.1 app/views/translation_center/center/_activity.html.haml
translation_center-1.2.0 app/views/translation_center/center/_activity.html.haml
translation_center-1.1.0 app/views/translation_center/center/_activity.html.haml
translation_center-1.0.4 app/views/translation_center/center/_activity.html.haml
translation_center-1.0.3 app/views/translation_center/center/_activity.html.haml
translation_center-1.0.2 app/views/translation_center/center/_activity.html.haml