Sha256: b5a53ddb59b4cbc4b2e6f225f2e5f2c85c33c89992876203aa20ca455d684e1e

Contents?: true

Size: 777 Bytes

Versions: 18

Compression:

Stored size: 777 Bytes

Contents

%li.highlight[version]
  .body
    - item_type = version.item_type.underscore.humanize
    - if user = User.find_by_id(version.whodunnit)
      - user_name = user.name
    - else
      - user_name = t('version.anonymous')
    -# If translation doesn't exist, just print event message
    - if t('version.' + version.event, :default => 0) != 0
      = t('version.' + version.event, :item => item_type, :by => user_name, :default => version.event)
    - else
      = auto_link(version.event)
    %small= timeago(version.created_at)
    %tt
      - version.changeset.each do |attr_name, change|
        - label, first, second = parse_version(attr_name, change)
        = render :partial => 'versions/version_item', :locals => {:label => label, :first => first, :second => second}

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/versions/_version.html.haml
fat_free_crm-0.15.2 app/views/versions/_version.html.haml
fat_free_crm-0.16.4 app/views/versions/_version.html.haml
fat_free_crm-0.14.1 app/views/versions/_version.html.haml
fat_free_crm-0.15.1 app/views/versions/_version.html.haml
fat_free_crm-0.16.3 app/views/versions/_version.html.haml
fat_free_crm-0.16.2 app/views/versions/_version.html.haml
fat_free_crm-0.16.1 app/views/versions/_version.html.haml
fat_free_crm-0.16.0 app/views/versions/_version.html.haml
fat_free_crm-0.15.0 app/views/versions/_version.html.haml
fat_free_crm-0.15.0.beta.2 app/views/versions/_version.html.haml
fat_free_crm-0.15.0.beta app/views/versions/_version.html.haml
fat_free_crm-0.14.0 app/views/versions/_version.html.haml
reduced_fat_crm-0.15.0.beta app/views/versions/_version.html.haml
reduced_fat_crm-0.14.0 app/views/versions/_version.html.haml
fat_free_crm-0.13.6 app/views/versions/_version.html.haml
fat_free_crm-0.13.5 app/views/versions/_version.html.haml
fat_free_crm-0.13.4 app/views/versions/_version.html.haml