refinerycms-dashboard 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,8 +23,8 @@ module Refinery
|
|
23
23
|
y.updated_at <=> x.updated_at
|
24
24
|
}.first(Refinery::Dashboard.activity_show_limit)
|
25
25
|
|
26
|
-
@recent_inquiries = if Refinery::Plugins.active.find_by_name("
|
27
|
-
Inquiry.latest(Refinery::Dashboard.activity_show_limit)
|
26
|
+
@recent_inquiries = if Refinery::Plugins.active.find_by_name("refinerycms_inquiries")
|
27
|
+
Refinery::Inquiries::Inquiry.latest(Refinery::Dashboard.activity_show_limit)
|
28
28
|
else
|
29
29
|
[]
|
30
30
|
end
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<% @recent_inquiries.each do |inquiry| %>
|
5
5
|
<li class='<%= cycle("on", "on-hover", :name => 'recent_inquiries_cycle') %>'>
|
6
6
|
<%= link_to truncate("#{inquiry.name} - #{inquiry.message}", :length => 100),
|
7
|
-
refinery.
|
7
|
+
refinery.inquiries_admin_inquiry_path(inquiry) %>
|
8
8
|
</li>
|
9
9
|
<% end %>
|
10
10
|
</ul>
|
@@ -13,10 +13,10 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.email = %q{info@refinerycms.com}
|
14
14
|
s.homepage = %q{http://refinerycms.com}
|
15
15
|
s.rubyforge_project = %q{refinerycms}
|
16
|
-
s.authors = ['Philip Arndt', 'Uģis Ozols', 'Rob Yurkowski'
|
16
|
+
s.authors = ['Philip Arndt', 'Uģis Ozols', 'Rob Yurkowski']
|
17
17
|
s.license = %q{MIT}
|
18
18
|
s.require_paths = %w(lib)
|
19
|
-
|
19
|
+
|
20
20
|
s.files = `git ls-files`.split("\n")
|
21
21
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
22
22
|
|
@@ -47,7 +47,7 @@ describe "dashboard" do
|
|
47
47
|
3.times { |n| page.should have_content("Refinery cms #{n} page was added") }
|
48
48
|
end
|
49
49
|
|
50
|
-
# see https://github.com/
|
50
|
+
# see https://github.com/refinery/refinerycms/issues/1673
|
51
51
|
it "uses proper link for nested pages" do
|
52
52
|
# we need to increase updated_at because dashboard entries are sorted by
|
53
53
|
# updated_at column and we need this page to be at the top of the list
|
metadata
CHANGED
@@ -1,19 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-dashboard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Philip Arndt
|
9
9
|
- Uģis Ozols
|
10
10
|
- Rob Yurkowski
|
11
|
-
- David Jones
|
12
|
-
- Steven Heidel
|
13
11
|
autorequire:
|
14
12
|
bindir: bin
|
15
13
|
cert_chain: []
|
16
|
-
date: 2012-
|
14
|
+
date: 2012-11-21 00:00:00.000000000 Z
|
17
15
|
dependencies:
|
18
16
|
- !ruby/object:Gem::Dependency
|
19
17
|
name: refinerycms-core
|
@@ -22,7 +20,7 @@ dependencies:
|
|
22
20
|
requirements:
|
23
21
|
- - '='
|
24
22
|
- !ruby/object:Gem::Version
|
25
|
-
version: 2.0.
|
23
|
+
version: 2.0.9
|
26
24
|
type: :runtime
|
27
25
|
prerelease: false
|
28
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +28,7 @@ dependencies:
|
|
30
28
|
requirements:
|
31
29
|
- - '='
|
32
30
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.0.
|
31
|
+
version: 2.0.9
|
34
32
|
description: The dashboard is usually the first extension the user sees in the backend
|
35
33
|
of Refinery CMS. It displays useful information and contains links to common functionality.
|
36
34
|
email: info@refinerycms.com
|
@@ -96,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
94
|
version: '0'
|
97
95
|
segments:
|
98
96
|
- 0
|
99
|
-
hash: -
|
97
|
+
hash: -513494269538220997
|
100
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
99
|
none: false
|
102
100
|
requirements:
|
@@ -105,10 +103,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
103
|
version: '0'
|
106
104
|
segments:
|
107
105
|
- 0
|
108
|
-
hash: -
|
106
|
+
hash: -513494269538220997
|
109
107
|
requirements: []
|
110
108
|
rubyforge_project: refinerycms
|
111
|
-
rubygems_version: 1.8.
|
109
|
+
rubygems_version: 1.8.24
|
112
110
|
signing_key:
|
113
111
|
specification_version: 3
|
114
112
|
summary: Dashboard extension for Refinery CMS
|