Sha256: 531ae912f7e0385ffaeb14c62f928bedf9de10761e4ee49469c6beb0c83f0a40

Contents?: true

Size: 952 Bytes

Versions: 1

Compression:

Stored size: 952 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.auditable.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

1 entries across 1 versions & 1 rubygems

Version Path
translation_center-1.5.1 app/views/translation_center/center/_activity.html.haml