infopark_dashboard 0.0.2 → 0.0.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.
- checksums.yaml +8 -8
- data/CHANGELOG.md +6 -1
- data/app/assets/stylesheets/infopark_dashboard/dashboard.css +1 -2
- data/app/controllers/infopark_dashboard/dashboard_controller.rb +14 -11
- data/app/models/infopark_dashboard/cms_stats.rb +23 -19
- data/app/models/infopark_dashboard/meta_stats.rb +1 -9
- data/app/views/infopark_dashboard/dashboard/content/_cms_stats.html.haml +0 -8
- data/app/views/infopark_dashboard/dashboard/content/{_recently_published.html.haml → _recently_changed.html.haml} +3 -3
- data/app/views/infopark_dashboard/dashboard/content.html.haml +12 -7
- data/app/views/infopark_dashboard/dashboard/help/_gem.html.haml +4 -4
- data/app/views/infopark_dashboard/dashboard/help/_updates.html.haml +2 -2
- data/app/views/infopark_dashboard/dashboard/help.html.haml +4 -4
- data/app/views/infopark_dashboard/dashboard/objects/_attribute.html.haml +3 -3
- data/app/views/infopark_dashboard/dashboard/objects/_obj_class.html.haml +4 -4
- data/app/views/infopark_dashboard/dashboard/objects/_obj_class_details.html.haml +5 -3
- data/app/views/infopark_dashboard/dashboard/objects/_preset_attributes.html.haml +2 -2
- data/app/views/infopark_dashboard/dashboard/objects.html.haml +3 -5
- data/app/views/infopark_dashboard/dashboard/people.html.haml +4 -4
- data/app/views/layouts/infopark_dashboard/dashboard/_navigation.html.haml +14 -11
- data/app/views/layouts/infopark_dashboard/dashboard/_workspace_toggle.html.haml +7 -8
- data/app/views/layouts/infopark_dashboard/dashboard.haml +6 -9
- data/lib/infopark_dashboard/version.rb +1 -1
- metadata +17 -12
- data/app/views/infopark_dashboard/dashboard/objects/_global_attribute_details.html.haml +0 -13
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGRiYjUyMDMxMzg3ZjFlMzczMjBhMzM4MmM4MTgzMzgxYTM1Njk5Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGI2NzJmZDhhZjUyNTcxOTFmZTU4MjBlNjAyYmM5Yjg3ZTA0MjljOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzdmN2I5NmFjOTMzNzZiZTZkZGExMjI2OThkYzhjNGUyYjUwMzRiYmY4ZTZm
|
10
|
+
ZWZhMGUxZjNhZjhiYWM3NTkxZmIxNGRmYzVkMjM2Yzg0MGFjZDVkNzczYmM3
|
11
|
+
NDcxMzVkNjJhNDc5YjkwMzg0NzZkMDgxMGMxMzY5MDA2NGEzM2I=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmIwNjc1ZmY1MmVmMWQ3ZTlhOTBmNGUzOTEyMDEzYWQ2NWJkZmMzMDQ1OGQ1
|
14
|
+
Y2UxZTViMmE4ZjMyOGU0MDRmNTYwYzhiZTNlM2RjYmY2OGEzMWQ0N2RmNWQz
|
15
|
+
ODZlYWE4YWY0MjNmNjM4ODA4OTZkMTk4OWIwZjhiNjQ1MDNlYjc=
|
data/CHANGELOG.md
CHANGED
@@ -1 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# v0.0.3
|
2
|
+
* Removed widgets from CMS stats, because we do not support a suffix search yet and widgets will
|
3
|
+
no longer be a separate CMS object in the future.
|
4
|
+
* Updated to Twitter Bootstrap 3.
|
5
|
+
* Removed support for global attributes.
|
6
|
+
* Updated gem dependencies to better prevent future incompatibilities.
|
@@ -1,18 +1,9 @@
|
|
1
1
|
module InfoparkDashboard
|
2
2
|
class DashboardController < ApplicationController
|
3
3
|
before_filter :require_local!
|
4
|
+
before_filter :set_workspaces, only: [:objects, :content]
|
4
5
|
|
5
6
|
def objects
|
6
|
-
@workspaces = RailsConnector::CmsRestApi.get('workspaces')['results']
|
7
|
-
|
8
|
-
@current_workspace = @workspaces.detect do |workspace|
|
9
|
-
workspace['id'] == RailsConnector::Workspace.current.id
|
10
|
-
end
|
11
|
-
|
12
|
-
@workspaces.each do |workspace|
|
13
|
-
workspace['title'] ||= 'Published'
|
14
|
-
end
|
15
|
-
|
16
7
|
@meta_stats = MetaStats.new
|
17
8
|
end
|
18
9
|
|
@@ -43,5 +34,17 @@ module InfoparkDashboard
|
|
43
34
|
def local_request?
|
44
35
|
Rails.configuration.consider_all_requests_local || request.local?
|
45
36
|
end
|
37
|
+
|
38
|
+
def set_workspaces
|
39
|
+
@workspaces = RailsConnector::CmsRestApi.get('workspaces')['results']
|
40
|
+
|
41
|
+
@current_workspace = @workspaces.detect do |workspace|
|
42
|
+
workspace['id'] == RailsConnector::Workspace.current.id
|
43
|
+
end
|
44
|
+
|
45
|
+
@workspaces.each do |workspace|
|
46
|
+
workspace['title'] ||= 'Published'
|
47
|
+
end
|
48
|
+
end
|
46
49
|
end
|
47
|
-
end
|
50
|
+
end
|
@@ -1,31 +1,35 @@
|
|
1
1
|
module InfoparkDashboard
|
2
2
|
class CmsStats
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
attr_reader :resources
|
7
|
-
attr_reader :widgets
|
8
|
-
attr_reader :recently_published
|
3
|
+
def published_objects
|
4
|
+
@published_objects ||= Obj.all.size
|
5
|
+
end
|
9
6
|
|
10
|
-
def
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
@widgets = Obj.where(:_obj_class, :contains_prefix, 'Widget').size
|
17
|
-
@recently_published = Obj.all.order(:_last_changed).reverse_order.take(20)
|
18
|
-
end
|
7
|
+
def websites
|
8
|
+
@websites ||= Obj.where(:_obj_class, :equals, 'Website').size
|
9
|
+
end
|
10
|
+
|
11
|
+
def homepages
|
12
|
+
@homepages ||= Obj.where(:_obj_class, :equals, 'Homepage').size
|
19
13
|
end
|
20
14
|
|
21
15
|
def workspaces
|
22
16
|
@workspaces ||= RailsConnector::CmsRestApi.get('workspaces')['results'].size
|
23
17
|
end
|
24
18
|
|
25
|
-
|
19
|
+
def recently_changed
|
20
|
+
@recently_changed ||= Obj.all.order(:_last_changed).reverse_order.take(20)
|
21
|
+
end
|
22
|
+
|
23
|
+
def resources
|
24
|
+
@resources ||= begin
|
25
|
+
container = Obj.where(:_obj_class, :equals, 'ResourceContainer').to_a
|
26
26
|
|
27
|
-
|
28
|
-
|
27
|
+
query = container.inject(RailsConnector::ObjSearchEnumerator.new(nil)) do |query, parent|
|
28
|
+
query.and(:_path, :starts_with, parent.path)
|
29
|
+
end
|
30
|
+
|
31
|
+
query.size
|
32
|
+
end
|
29
33
|
end
|
30
34
|
end
|
31
|
-
end
|
35
|
+
end
|
@@ -16,14 +16,6 @@ module InfoparkDashboard
|
|
16
16
|
@obj_classes ||= ObjClass.all
|
17
17
|
end
|
18
18
|
|
19
|
-
def global_attributes_count
|
20
|
-
global_attributes.size
|
21
|
-
end
|
22
|
-
|
23
|
-
def global_attributes
|
24
|
-
@attributes ||= Attribute.all
|
25
|
-
end
|
26
|
-
|
27
19
|
private
|
28
20
|
|
29
21
|
def max_group_size(hash)
|
@@ -32,4 +24,4 @@ module InfoparkDashboard
|
|
32
24
|
end
|
33
25
|
end
|
34
26
|
end
|
35
|
-
end
|
27
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
%h2
|
2
|
-
Recently
|
2
|
+
Recently Changed CMS Objects
|
3
3
|
|
4
4
|
%table.table.table-bordered.table-hover
|
5
5
|
%thead
|
@@ -17,7 +17,7 @@
|
|
17
17
|
Last Changed
|
18
18
|
|
19
19
|
%tbody
|
20
|
-
-
|
20
|
+
- recently_changed.each do |obj|
|
21
21
|
%tr
|
22
22
|
%td
|
23
23
|
= obj.name
|
@@ -30,4 +30,4 @@
|
|
30
30
|
= obj.obj_class
|
31
31
|
|
32
32
|
%td
|
33
|
-
= time_ago_in_words(obj.last_changed)
|
33
|
+
= time_ago_in_words(obj.last_changed)
|
@@ -1,17 +1,22 @@
|
|
1
|
-
.row
|
1
|
+
.row
|
2
2
|
%h1
|
3
3
|
Project Content
|
4
4
|
|
5
5
|
%p
|
6
6
|
Gives you an overview of what currently is going on in your project.
|
7
7
|
|
8
|
-
.row
|
9
|
-
|
8
|
+
.row
|
9
|
+
= render('layouts/infopark_dashboard/dashboard/workspace_toggle', current: @current_workspace, workspaces: @workspaces)
|
10
|
+
|
11
|
+
.row
|
12
|
+
.col-md-6.well.well-sm
|
10
13
|
= render('infopark_dashboard/dashboard/content/cms_stats', stats: @cms_stats)
|
11
14
|
|
12
|
-
.
|
15
|
+
.col-md-1
|
16
|
+
|
17
|
+
.col-md-5.well.well-sm
|
13
18
|
= render('infopark_dashboard/dashboard/content/crm_stats', stats: @crm_stats)
|
14
19
|
|
15
|
-
.row
|
16
|
-
.
|
17
|
-
= render('infopark_dashboard/dashboard/content/
|
20
|
+
.row
|
21
|
+
.col-md-12
|
22
|
+
= render('infopark_dashboard/dashboard/content/recently_changed', recently_changed: @cms_stats.recently_changed)
|
@@ -3,14 +3,14 @@
|
|
3
3
|
= link_to(gem.rubygems_url, target: 'blank') do
|
4
4
|
= gem.name
|
5
5
|
|
6
|
-
- class_name = gem.latest? ? '
|
6
|
+
- class_name = gem.latest? ? 'label-success' : 'label-warning'
|
7
7
|
|
8
8
|
%td
|
9
9
|
= gem.version
|
10
10
|
|
11
11
|
%td
|
12
|
-
%span.
|
12
|
+
%span.label{class: class_name, title: "Latest Version: #{gem.latest_version}"}
|
13
13
|
- if gem.latest?
|
14
|
-
|
14
|
+
%span.glyphicon.glyphicon-ok
|
15
15
|
- else
|
16
|
-
= gem.latest_version
|
16
|
+
= gem.latest_version
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<a href="#{Rails.configuration.infopark_dashboard.blog_url}" target="_blank">Infopark Blog</a>
|
10
10
|
to see what has changed.
|
11
11
|
|
12
|
-
%table.table
|
12
|
+
%table.table.table-hover
|
13
13
|
%thead
|
14
14
|
%tr
|
15
15
|
%th
|
@@ -22,4 +22,4 @@
|
|
22
22
|
Status
|
23
23
|
|
24
24
|
%tbody
|
25
|
-
= render(partial: 'infopark_dashboard/dashboard/help/gem', collection: gems)
|
25
|
+
= render(partial: 'infopark_dashboard/dashboard/help/gem', collection: gems)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.row
|
1
|
+
.row
|
2
2
|
%h1
|
3
3
|
Help, Links & Updates
|
4
4
|
|
@@ -6,8 +6,8 @@
|
|
6
6
|
If you are looking for help or want to jump directly to Infopark GUI applications, then check
|
7
7
|
out the links below. Don't forget the feedback button, if you miss anything.
|
8
8
|
|
9
|
-
.row
|
9
|
+
.row
|
10
10
|
= render('infopark_dashboard/dashboard/help/links')
|
11
11
|
|
12
|
-
.row
|
13
|
-
= render('infopark_dashboard/dashboard/help/updates', gems: @gems)
|
12
|
+
.row
|
13
|
+
= render('infopark_dashboard/dashboard/help/updates', gems: @gems)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
%h5
|
2
|
-
%
|
2
|
+
%span.glyphicon.glyphicon-list.pull-left
|
3
3
|
|
4
4
|
|
5
5
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
%small
|
10
10
|
(#{attribute.title})
|
11
11
|
|
12
|
-
%ul.unstyled
|
12
|
+
%ul.list-unstyled
|
13
13
|
%li
|
14
14
|
%strong
|
15
15
|
Type:
|
@@ -35,4 +35,4 @@
|
|
35
35
|
%strong
|
36
36
|
Max Size:
|
37
37
|
|
38
|
-
= attribute.max_size
|
38
|
+
= attribute.max_size
|
@@ -1,5 +1,5 @@
|
|
1
1
|
%h4
|
2
|
-
%
|
2
|
+
%span.glyphicon.glyphicon-folder-open.pull-left
|
3
3
|
|
4
4
|
|
5
5
|
|
@@ -9,10 +9,10 @@
|
|
9
9
|
(#{obj_class.title})
|
10
10
|
|
11
11
|
- if @current_workspace['title'] == 'published'
|
12
|
-
%span.
|
12
|
+
%span.label{class: obj_class.count == 0 ? 'label-important' : nil}
|
13
13
|
⅀ #{obj_class.count}
|
14
14
|
|
15
|
-
%ul.unstyled
|
15
|
+
%ul.list-unstyled
|
16
16
|
%li
|
17
17
|
%strong
|
18
18
|
Type:
|
@@ -26,4 +26,4 @@
|
|
26
26
|
= render('infopark_dashboard/dashboard/objects/preset_attributes', attributes: obj_class.preset_attributes)
|
27
27
|
|
28
28
|
- if obj_class.attributes?
|
29
|
-
= render('infopark_dashboard/dashboard/objects/attributes', attributes: obj_class.attributes)
|
29
|
+
= render('infopark_dashboard/dashboard/objects/attributes', attributes: obj_class.attributes)
|
@@ -5,9 +5,11 @@
|
|
5
5
|
= stats.obj_classes_count
|
6
6
|
|
7
7
|
- stats.obj_classes.in_groups_of(2).each do |group|
|
8
|
-
.row
|
8
|
+
.row
|
9
9
|
- group.each do |item|
|
10
10
|
- next unless item
|
11
11
|
|
12
|
-
.
|
13
|
-
= render('infopark_dashboard/dashboard/objects/obj_class', obj_class: item)
|
12
|
+
.col-md-5.well.well-sm
|
13
|
+
= render('infopark_dashboard/dashboard/objects/obj_class', obj_class: item)
|
14
|
+
|
15
|
+
.col-md-1
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.row
|
1
|
+
.row
|
2
2
|
%h1
|
3
3
|
Object Classes and Attributes
|
4
4
|
|
@@ -8,9 +8,7 @@
|
|
8
8
|
<strong>rails generate cms:migration NAME</strong>, or use the more specific migration
|
9
9
|
generators, like <strong>rails generate cms:model</strong>.
|
10
10
|
|
11
|
-
.row
|
12
|
-
= render('layouts/infopark_dashboard/dashboard/workspace_toggle')
|
11
|
+
.row
|
12
|
+
= render('layouts/infopark_dashboard/dashboard/workspace_toggle', current: @current_workspace, workspaces: @workspaces)
|
13
13
|
|
14
14
|
= render('infopark_dashboard/dashboard/objects/obj_class_details', stats: @meta_stats)
|
15
|
-
|
16
|
-
= render('infopark_dashboard/dashboard/objects/global_attribute_details', stats: @meta_stats)
|
@@ -1,18 +1,18 @@
|
|
1
|
-
.row
|
1
|
+
.row
|
2
2
|
%h1
|
3
3
|
Editors
|
4
4
|
|
5
5
|
%span.badge
|
6
6
|
⅀ #{@editors.size}
|
7
7
|
|
8
|
-
.row
|
9
|
-
.
|
8
|
+
.row
|
9
|
+
.col-md-12
|
10
10
|
%p
|
11
11
|
People listed have access to your Infopark GUI applications. They are able to influence the
|
12
12
|
content of the webpage. You can add new editors in the CRM by creating a new Contact and give them
|
13
13
|
the <strong>cmsadmin</strong> role.
|
14
14
|
|
15
|
-
%table.table.table-
|
15
|
+
%table.table.table-hover
|
16
16
|
%thead
|
17
17
|
%tr
|
18
18
|
%th
|
@@ -1,18 +1,21 @@
|
|
1
|
-
.navbar.navbar-fixed-top
|
2
|
-
.
|
3
|
-
.
|
4
|
-
%button.
|
1
|
+
.navbar.navbar-default.navbar-fixed-top
|
2
|
+
.container
|
3
|
+
.navbar-header
|
4
|
+
%button.navbar-toggle{type: 'button', data: { toggle: 'collapse', target: '.navbar-collapse' }}
|
5
|
+
%span.sr-only
|
6
|
+
Toggle navigation
|
7
|
+
|
5
8
|
%span.icon-bar
|
6
9
|
%span.icon-bar
|
7
10
|
%span.icon-bar
|
8
11
|
|
9
|
-
= link_to(root_path, class: 'brand') do
|
12
|
+
= link_to(root_path, class: 'navbar-brand') do
|
10
13
|
Infopark Developer Dashboard
|
11
14
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
15
|
+
.navbar-collapse.collapse
|
16
|
+
%ul.nav.navbar-nav.navbar-right
|
17
|
+
%li
|
18
|
+
= link_to(Rails.configuration.infopark_dashboard.support_url, target: :_blank) do
|
19
|
+
%span.glyphicon.glyphicon-envelope
|
17
20
|
|
18
|
-
|
21
|
+
Need help?
|
@@ -1,16 +1,15 @@
|
|
1
1
|
.btn-group
|
2
|
-
%
|
2
|
+
%button.btn.btn-default.dropdown-toggle{type: 'button', data: { toggle: 'dropdown' }}
|
3
3
|
Workspace:
|
4
|
-
=
|
4
|
+
= current['title']
|
5
5
|
|
6
|
-
%a.btn.dropdown-toggle{data: { toggle: 'dropdown' }}
|
7
6
|
%span.caret
|
8
7
|
|
9
|
-
%ul.dropdown-menu
|
10
|
-
- if
|
11
|
-
-
|
12
|
-
- next if workspace['id'] ==
|
8
|
+
%ul.dropdown-menu{role: 'menu'}
|
9
|
+
- if workspaces.size > 1
|
10
|
+
- workspaces.each do |workspace|
|
11
|
+
- next if workspace['id'] == current['id']
|
13
12
|
|
14
13
|
%li
|
15
14
|
= link_to("#{request.path}?_rc-ws=#{workspace['id']}") do
|
16
|
-
= workspace['title']
|
15
|
+
= workspace['title']
|
@@ -20,15 +20,12 @@
|
|
20
20
|
%body
|
21
21
|
= render('layouts/infopark_dashboard/dashboard/navigation')
|
22
22
|
|
23
|
-
.container
|
23
|
+
.container
|
24
24
|
= render('layouts/infopark_dashboard/dashboard/flash_messages')
|
25
25
|
|
26
|
-
.row
|
27
|
-
.
|
28
|
-
%ul.nav.nav-
|
29
|
-
%li.nav-header
|
30
|
-
Navigation
|
31
|
-
|
26
|
+
.row
|
27
|
+
.col-md-2
|
28
|
+
%ul.nav.nav-pills.nav-stacked
|
32
29
|
= render('layouts/infopark_dashboard/dashboard/nav_link', title: 'Classes & Attributes', path: root_path)
|
33
30
|
|
34
31
|
= render('layouts/infopark_dashboard/dashboard/nav_link', title: 'Editors', path: people_path)
|
@@ -39,7 +36,7 @@
|
|
39
36
|
|
40
37
|
= render('layouts/infopark_dashboard/dashboard/nav_link', title: 'Help, Links & Updates', path: help_path)
|
41
38
|
|
42
|
-
.
|
39
|
+
.col-md-10
|
43
40
|
= yield
|
44
41
|
|
45
|
-
= javascript_include_tag('infopark_dashboard/dashboard')
|
42
|
+
= javascript_include_tag('infopark_dashboard/dashboard')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_dashboard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Infopark AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -58,18 +58,21 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: infopark_cloud_connector
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '6.9'
|
73
76
|
- - ! '>='
|
74
77
|
- !ruby/object:Gem::Version
|
75
78
|
version: 6.9.5
|
@@ -77,6 +80,9 @@ dependencies:
|
|
77
80
|
prerelease: false
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
79
82
|
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '6.9'
|
80
86
|
- - ! '>='
|
81
87
|
- !ruby/object:Gem::Version
|
82
88
|
version: 6.9.5
|
@@ -84,16 +90,16 @@ dependencies:
|
|
84
90
|
name: infopark_crm_connector
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
|
-
- -
|
93
|
+
- - ~>
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0
|
95
|
+
version: '1.0'
|
90
96
|
type: :runtime
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
|
-
- -
|
100
|
+
- - ~>
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0
|
102
|
+
version: '1.0'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: yard
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,7 +163,7 @@ files:
|
|
157
163
|
- app/models/infopark_dashboard/resource.rb
|
158
164
|
- app/views/infopark_dashboard/dashboard/content/_cms_stats.html.haml
|
159
165
|
- app/views/infopark_dashboard/dashboard/content/_crm_stats.html.haml
|
160
|
-
- app/views/infopark_dashboard/dashboard/content/
|
166
|
+
- app/views/infopark_dashboard/dashboard/content/_recently_changed.html.haml
|
161
167
|
- app/views/infopark_dashboard/dashboard/content.html.haml
|
162
168
|
- app/views/infopark_dashboard/dashboard/help/_gem.html.haml
|
163
169
|
- app/views/infopark_dashboard/dashboard/help/_links.html.haml
|
@@ -165,7 +171,6 @@ files:
|
|
165
171
|
- app/views/infopark_dashboard/dashboard/help.html.haml
|
166
172
|
- app/views/infopark_dashboard/dashboard/objects/_attribute.html.haml
|
167
173
|
- app/views/infopark_dashboard/dashboard/objects/_attributes.html.haml
|
168
|
-
- app/views/infopark_dashboard/dashboard/objects/_global_attribute_details.html.haml
|
169
174
|
- app/views/infopark_dashboard/dashboard/objects/_mandatory_attributes.html.haml
|
170
175
|
- app/views/infopark_dashboard/dashboard/objects/_obj_class.html.haml
|
171
176
|
- app/views/infopark_dashboard/dashboard/objects/_obj_class_details.html.haml
|
@@ -1,13 +0,0 @@
|
|
1
|
-
%h2
|
2
|
-
Global Attribute Details
|
3
|
-
|
4
|
-
%span.badge
|
5
|
-
= stats.global_attributes_count
|
6
|
-
|
7
|
-
- stats.global_attributes.in_groups_of(2).each do |group|
|
8
|
-
.row-fluid
|
9
|
-
- group.each do |attribute|
|
10
|
-
- next unless attribute
|
11
|
-
|
12
|
-
.span6.well.well-small
|
13
|
-
= render('infopark_dashboard/dashboard/objects/attribute', attribute: attribute)
|