fat_free_crm 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,12 @@
|
|
|
5
5
|
- user_name = user.name
|
|
6
6
|
- else
|
|
7
7
|
- user_name = t('version.anonymous')
|
|
8
|
-
|
|
8
|
+
-# If translation doesn't exist, just print event message
|
|
9
|
+
- if t('version.' + version.event, :default => 0) != 0
|
|
10
|
+
= t('version.' + version.event, :item => item_name, :by => user_name, :default => version.event)
|
|
11
|
+
- else
|
|
12
|
+
= auto_link(version.event).html_safe
|
|
13
|
+
%small= t('time_ago', time_ago_in_words(version.created_at))
|
|
9
14
|
%tt
|
|
10
15
|
- version.changeset.each do |attr_name, change|
|
|
11
16
|
- if attr_name =~ /^cf_/
|
|
@@ -655,9 +655,9 @@ en-US:
|
|
|
655
655
|
#----------------------------------------------------------------------------
|
|
656
656
|
versions: History
|
|
657
657
|
version:
|
|
658
|
-
create: %{item} created by %{by}
|
|
659
|
-
update: %{item} modified by %{by}
|
|
660
|
-
destroy: %{item} destroyed by %{by}
|
|
658
|
+
create: %{item} created by %{by}
|
|
659
|
+
update: %{item} modified by %{by}
|
|
660
|
+
destroy: %{item} destroyed by %{by}
|
|
661
661
|
set: %{attr} set to %{to}
|
|
662
662
|
unset: %{attr} unset
|
|
663
663
|
change: %{attr} changed from %{from} to %{to}
|
data/lib/fat_free_crm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fat_free_crm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -1301,7 +1301,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
1301
1301
|
version: '0'
|
|
1302
1302
|
segments:
|
|
1303
1303
|
- 0
|
|
1304
|
-
hash:
|
|
1304
|
+
hash: 1036089135
|
|
1305
1305
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1306
1306
|
none: false
|
|
1307
1307
|
requirements:
|