tramway-admin 1.19.0.1 → 1.19.0.2
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 +4 -4
- data/app/views/layouts/tramway/admin/shared/_navbar.html.haml +16 -10
- data/lib/tramway/admin/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6bec6b6c92559c5bd1f19b768e8185ba179bd21a778922761d0ee583788f61d3
|
|
4
|
+
data.tar.gz: 4172028dda60bf3b081791521d177c60cc9edccb3fb551e882e1315e84a1fa17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 599b34cec359eb6215728bc1dcf1f4d0561447a2a3cfc7126d966002c77ad7cf65575118cd3a7f3f1f1706f513c09f497861732491f9b809cb9eec008c338b12
|
|
7
|
+
data.tar.gz: 128488fd7c659f216ed11c8c4e7c52cd91c7d715d407db21300ce640609de88835440d5f36c914b79ec9c5276b49b809952dc4a824d9b7106824aae00cc0def8
|
|
@@ -15,16 +15,22 @@
|
|
|
15
15
|
= model_menu_item model: model, route: ::Tramway::Admin::Engine.routes.url_helpers.records_path(model: model, scope: decorator_class(model).collections.first)
|
|
16
16
|
%ul.nav.navbar-nav.ml-auto
|
|
17
17
|
- if signed_in?
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
.
|
|
18
|
+
- if @notifications_count > 0
|
|
19
|
+
%li.nav-item.dropdown.notifications
|
|
20
|
+
= link_to '#', class: 'nav-link icon-in-navbar dropdown-toggle', id: :notifications_dropdown, role: :button, aria: { haspopup: true, expanded: false }, data: { toggle: :dropdown } do
|
|
21
|
+
%span.badge.badge-light
|
|
22
|
+
= @notifications_count
|
|
23
|
+
.dropdown-menu.dropdown-menu-right{ aria: { labelledby: :notifications_dropdown } }
|
|
24
|
+
- @notifications.each_with_index do |collection, index|
|
|
25
|
+
- collection[1].each do |item|
|
|
26
|
+
= link_to decorator_class(item.class).decorate(item).title, record_path(item, model: item.class), class: 'dropdown-item'
|
|
27
|
+
- if index < @notifications.count - 1
|
|
28
|
+
.dropdown-divider
|
|
29
|
+
- else
|
|
30
|
+
%li.nav-item.notifications
|
|
31
|
+
= link_to '#', class: 'nav-link icon-in-navbar' do
|
|
32
|
+
%span.badge.badge-light
|
|
33
|
+
= @notifications_count
|
|
28
34
|
%li.nav-item
|
|
29
35
|
= link_to Tramway::Auth::Engine.routes.url_helpers.session_path, method: :delete, class: 'nav-link' do
|
|
30
36
|
= fa_icon 'sign-out-alt'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tramway-admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.19.0.
|
|
4
|
+
version: 1.19.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pavel Kalashnikov
|
|
@@ -28,20 +28,20 @@ dependencies:
|
|
|
28
28
|
name: copyright_mafa
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: 0.1.2
|
|
34
|
-
- - "
|
|
34
|
+
- - ">="
|
|
35
35
|
- !ruby/object:Gem::Version
|
|
36
36
|
version: 0.1.2
|
|
37
37
|
type: :runtime
|
|
38
38
|
prerelease: false
|
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
40
|
requirements:
|
|
41
|
-
- - "
|
|
41
|
+
- - "~>"
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
43
|
version: 0.1.2
|
|
44
|
-
- - "
|
|
44
|
+
- - ">="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: 0.1.2
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
@@ -68,20 +68,20 @@ dependencies:
|
|
|
68
68
|
name: kaminari
|
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
|
71
|
-
- - "
|
|
71
|
+
- - "~>"
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
73
|
version: 1.1.1
|
|
74
|
-
- - "
|
|
74
|
+
- - ">="
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
76
|
version: 1.1.1
|
|
77
77
|
type: :runtime
|
|
78
78
|
prerelease: false
|
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
|
80
80
|
requirements:
|
|
81
|
-
- - "
|
|
81
|
+
- - "~>"
|
|
82
82
|
- !ruby/object:Gem::Version
|
|
83
83
|
version: 1.1.1
|
|
84
|
-
- - "
|
|
84
|
+
- - ">="
|
|
85
85
|
- !ruby/object:Gem::Version
|
|
86
86
|
version: 1.1.1
|
|
87
87
|
- !ruby/object:Gem::Dependency
|
|
@@ -116,20 +116,20 @@ dependencies:
|
|
|
116
116
|
name: state_machine_buttons
|
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
|
118
118
|
requirements:
|
|
119
|
-
- - "
|
|
119
|
+
- - "~>"
|
|
120
120
|
- !ruby/object:Gem::Version
|
|
121
121
|
version: 0.4.1
|
|
122
|
-
- - "
|
|
122
|
+
- - ">="
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: 0.4.1
|
|
125
125
|
type: :runtime
|
|
126
126
|
prerelease: false
|
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
|
-
- - "
|
|
129
|
+
- - "~>"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
131
|
version: 0.4.1
|
|
132
|
-
- - "
|
|
132
|
+
- - ">="
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
134
|
version: 0.4.1
|
|
135
135
|
description: Engine for admin
|
|
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
290
290
|
- !ruby/object:Gem::Version
|
|
291
291
|
version: '0'
|
|
292
292
|
requirements: []
|
|
293
|
-
rubygems_version: 3.
|
|
293
|
+
rubygems_version: 3.1.2
|
|
294
294
|
signing_key:
|
|
295
295
|
specification_version: 4
|
|
296
296
|
summary: Engine for admin
|