Sha256: 9f733540b96d0d8d2a53a47c225d2ac31d5fd82288819eff051dce4e82b08553

Contents?: true

Size: 373 Bytes

Versions: 5

Compression:

Stored size: 373 Bytes

Contents

- if [first, second].any?(&:present?)
  %br
  - if first.blank? and second.present? && !second.is_a?(Time)
    = t('version.set_html', attr: label, to: second)
  - elsif first.present? and second.present?
    = t('version.change_html', attr: label, from: first, to: second)
  - elsif first.present? and second.blank?
    = t('version.unset_html', attr: label, from: first)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/versions/_version_item.html.haml
fat_free_crm-0.22.0 app/views/versions/_version_item.html.haml
fat_free_crm-0.21.0 app/views/versions/_version_item.html.haml
fat_free_crm-0.20.1 app/views/versions/_version_item.html.haml
fat_free_crm-0.20.0 app/views/versions/_version_item.html.haml