tramway-admin 1.32.2.1 → 1.32.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/app/views/layouts/tramway/admin/shared/_navbar.html.haml +3 -0
- data/lib/tramway/admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54810b97b5d2f0fd856461953a58e2b36dcae76ad116f408ccff7bec841ba498
|
4
|
+
data.tar.gz: b802cfb92fdf6c8b6153eb9ed308ddb8284756f6754072369f309266a0d540eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dac5f5fa0d8cb6b85c30ad9bf7c4c5b6779f93ddbdba2513ef8d351a7e316bfbec4140f87f356a8bf842b1c6a78182c92d335fe8dd0deff1bd8d46fdb18b6cc8
|
7
|
+
data.tar.gz: 963ad750519bba6a9863d365548d45ec008761363473071b9e6caf27e5f7a02ca88d02a8d943d28ed6aa657a223fad2e88c33027a05d3380dfff35706fdc7075
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ Rails.application.routes.draw do
|
|
43
43
|
end
|
44
44
|
```
|
45
45
|
|
46
|
-
#### 4. Then make `tramway-core` installation. [How-to](https://github.com/
|
46
|
+
#### 4. Then make `tramway-core` installation. [How-to](https://github.com/Purple-Magic/tramway-core/blob/develop/README.md#installation)
|
47
47
|
|
48
48
|
|
49
49
|
#### 5. And then execute:
|
@@ -192,7 +192,13 @@ class Admin::YourModelForm < Tramway::Core::ApplicationForm
|
|
192
192
|
logo: :file,
|
193
193
|
description: :ckeditor,
|
194
194
|
date: :date_picker,
|
195
|
-
text: :text
|
195
|
+
text: :text,
|
196
|
+
birth_date: {
|
197
|
+
type: :default,
|
198
|
+
input_options: {
|
199
|
+
hint: 'It should be more than 18'
|
200
|
+
}
|
201
|
+
}
|
196
202
|
end
|
197
203
|
end
|
198
204
|
end
|
@@ -32,6 +32,9 @@
|
|
32
32
|
|
33
33
|
%ul.nav.navbar-nav.ml-auto
|
34
34
|
- if current_admin
|
35
|
+
%li.nav-item
|
36
|
+
%span.nav-link
|
37
|
+
= "#{current_admin.first_name} #{current_admin.last_name}"
|
35
38
|
- if @notifications_count.present?
|
36
39
|
- if @notifications_count > 0
|
37
40
|
%li.nav-item.dropdown.notifications
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.32.2.
|
4
|
+
version: 1.32.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tramway-core
|