cambium 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/cambium/admin/paper_trail/versions/_version.html.erb +23 -21
- data/lib/cambium/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff891405a0ecaac0734c3c5ddbcea727ae2c80a4
|
4
|
+
data.tar.gz: 0d48bdd9463261869c85fa32150ec44f13aa6a43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3842f7b23c7c9af764e7536d201b768cc3720d93faf73b07dcd5e33b0fd9d642f21500368d7c4214c01c1bd2295867d5b64a5e50f5f77b157a8a4ce5ba9b0213
|
7
|
+
data.tar.gz: 63970a3d218d4e294259c52299eb304d439f2c9bd302d0ec4fcceacb7cde63b0a6d3b11355792bec21d5be014643897dd83c1692e6a07288adefd26997381021
|
@@ -1,24 +1,26 @@
|
|
1
1
|
<% if version.whodunnit.present? %>
|
2
2
|
<% user = @users.select { |u| u.id == version.whodunnit.to_i }.first %>
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
3
|
+
<% unless user.nil? %>
|
4
|
+
<article>
|
5
|
+
<%= avatar(user, 72) %>
|
6
|
+
<div class="content">
|
7
|
+
<p class="date">
|
8
|
+
<%= "#{time_ago_in_words(version.created_at)} ago" %>
|
9
|
+
</p>
|
10
|
+
<p class="action">
|
11
|
+
<%= content_tag(:strong, user.name.present? ? user.name : user.email) %>
|
12
|
+
<%= "#{version.event}d" %>
|
13
|
+
<%= version.item_type.downcase %>
|
14
|
+
<% if cambium_route(:edit, version.item).nil? %>
|
15
|
+
<%= content_tag(:strong, version.item.to_s) %>
|
16
|
+
<% else %>
|
17
|
+
<%= content_tag(
|
18
|
+
:strong,
|
19
|
+
link_to(version.item.to_s, cambium_route(:edit, version.item))
|
20
|
+
) %>
|
21
|
+
<% end %>
|
22
|
+
</p>
|
23
|
+
</div>
|
24
|
+
</article>
|
25
|
+
<% end %>
|
24
26
|
<% end %>
|
data/lib/cambium/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cambium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean C Davis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-05-
|
12
|
+
date: 2015-05-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|