refinerycms-dashboard 1.0.8 → 1.0.9

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.
@@ -23,7 +23,7 @@ module Admin
23
23
  y.updated_at <=> x.updated_at
24
24
  }.first(activity_show_limit=RefinerySetting.find_or_set(:activity_show_limit, 7))
25
25
 
26
- @recent_inquiries = defined?(Inquiry) ? Inquiry.latest(activity_show_limit) : []
26
+ @recent_inquiries = defined?(Inquiry) && Refinery::Plugins.active.names.include?('refinery_inquiries') ? Inquiry.latest(activity_show_limit) : []
27
27
  end
28
28
 
29
29
  def disable_upgrade_message
@@ -0,0 +1,26 @@
1
+ bg:
2
+ plugins:
3
+ refinery_dashboard:
4
+ title: Табло
5
+ description: Преглед на дейността в Refinery
6
+ admin:
7
+ dashboard:
8
+ index:
9
+ quick_tasks: Бърз достъп до задачи
10
+ actions:
11
+ add_a_new_page: Добавяне на нова страница
12
+ update_a_page: Редактиране на страница
13
+ upload_a_image: Качване на изображение
14
+ upload_a_file: Качване на файл
15
+ change_language: Смяна на език
16
+ see_home_page: Преглед на началната страница
17
+ recent_activity:
18
+ empty: Скоро не е извършвана дейност.
19
+ latest_activity: Последни действия
20
+ latest_activity_message: 'Елемента "%{what}(%{kind})" бе %{action}'
21
+ recent_inquiries:
22
+ latest_inquiries: Последни запитвания
23
+ updated:
24
+ 'with_article "the"': актуализиран
25
+ created:
26
+ 'with_article "the"': добавен
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.files = [
25
25
  '#{%w( **/{*,.rspec,.gitignore,.yardopts} ).map { |file| Pathname.glob(gempath.join(file)) }.flatten.reject{|f|
26
- !f.exist? or f.to_s =~ /\.gem$/ or (f.directory? and f.children.empty?)
26
+ !f.exist? or f.to_s =~ /(\.(gem|rbc)|tmp(\/.*)?|spec\/lib\/tmp(\/.*)?)$/ or (f.directory? and f.children.empty?)
27
27
  }.map{|d| d.relative_path_from(gempath)}.uniq.sort.join("',\n '")}'
28
28
  ]
29
29
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = %q{refinerycms-dashboard}
6
- s.version = %q{1.0.8}
6
+ s.version = %q{1.0.9}
7
7
  s.summary = %q{Dashboard engine for Refinery CMS}
8
8
  s.description = %q{The dashboard is usually the first engine the user sees in the backend of Refinery CMS. It displays useful information and contains links to common functionality.}
9
- s.date = %q{2011-09-01}
9
+ s.date = %q{2011-11-05}
10
10
  s.email = %q{info@refinerycms.com}
11
11
  s.homepage = %q{http://refinerycms.com}
12
12
  s.rubyforge_project = %q{refinerycms}
@@ -35,6 +35,7 @@ Gem::Specification.new do |s|
35
35
  'app/views/admin/dashboard/index.rss.builder',
36
36
  'config',
37
37
  'config/locales',
38
+ 'config/locales/bg.yml',
38
39
  'config/locales/cs.yml',
39
40
  'config/locales/da.yml',
40
41
  'config/locales/de.yml',
@@ -73,5 +74,5 @@ Gem::Specification.new do |s|
73
74
  'refinerycms-dashboard.gemspec'
74
75
  ]
75
76
 
76
- s.add_dependency 'refinerycms-core', '= 1.0.8'
77
+ s.add_dependency 'refinerycms-core', '= 1.0.9'
77
78
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-dashboard
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 8
10
- version: 1.0.8
9
+ - 9
10
+ version: 1.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Resolve Digital
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2011-09-01 00:00:00 Z
22
+ date: 2011-11-05 00:00:00 Z
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency
25
25
  name: refinerycms-core
@@ -29,12 +29,12 @@ dependencies:
29
29
  requirements:
30
30
  - - "="
31
31
  - !ruby/object:Gem::Version
32
- hash: 7
32
+ hash: 5
33
33
  segments:
34
34
  - 1
35
35
  - 0
36
- - 8
37
- version: 1.0.8
36
+ - 9
37
+ version: 1.0.9
38
38
  type: :runtime
39
39
  version_requirements: *id001
40
40
  description: The dashboard is usually the first engine the user sees in the backend of Refinery CMS. It displays useful information and contains links to common functionality.
@@ -55,6 +55,7 @@ files:
55
55
  - app/views/admin/dashboard/_records.html.erb
56
56
  - app/views/admin/dashboard/index.html.erb
57
57
  - app/views/admin/dashboard/index.rss.builder
58
+ - config/locales/bg.yml
58
59
  - config/locales/cs.yml
59
60
  - config/locales/da.yml
60
61
  - config/locales/de.yml