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