Sha256: 2ab0f22bb60050d7ad824269c37f743de37b033b77454ceadf797d4a18327303

Contents?: true

Size: 942 Bytes

Versions: 5

Compression:

Stored size: 942 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
            = distance_of_time_in_words_to_now change.created_at
            = t('.ago')

  = will_paginate translations_changes

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
translation_center-1.5.0 app/views/translation_center/center/_activity.html.haml
translation_center-1.4.1 app/views/translation_center/center/_activity.html.haml
translation_center-1.4.0 app/views/translation_center/center/_activity.html.haml
translation_center-1.3.1 app/views/translation_center/center/_activity.html.haml
translation_center-1.3.0 app/views/translation_center/center/_activity.html.haml