tramway-conference 1.9.3.1 → 1.9.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/decorators/tramway/conference/unity_decorator.rb +2 -2
- data/app/views/tramway/conference/web/welcome/index.html.haml +7 -6
- data/config/initializers/tramway.rb +1 -1
- data/lib/tramway/conference/generates/install_generator.rb +4 -0
- data/lib/tramway/conference/generates/templates/add_favicon_to_tramway_conference_unities.rb +7 -0
- data/lib/tramway/conference/generates/templates/add_main_image_to_tramway_conference_unities.rb +7 -0
- data/lib/tramway/conference/generates/templates/add_name_to_tramway_conference_unities.rb +7 -0
- data/lib/tramway/conference/generates/templates/add_public_name_to_tramway_conference_unities.rb +7 -0
- data/lib/tramway/conference/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1d6d0f12b768d54e0c51d3ecfc949b4cc5c9229ebc20f6ffe117f2da61fe15d
|
4
|
+
data.tar.gz: 2bf31b0cdf14bb21cb695b70d16c2a6ea80b45657a263ebda2b0f86aaf2989bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7103fe737f20b6be1a04bb77898bce61431a755395bf68e3c4c875cbf9b0b4b72ab20de75c4b1290213dfd6dd91298b20c7155dcd23f805af121ac194ddac192
|
7
|
+
data.tar.gz: 2fecac16606e15eada41a86f2091213b34959d97e7b7ac3fa9f8b7ad46dcb0b86e8d76bc8f6c38628444416d1d09f7137d0b2a0ac33da1421f0baf008d167e3c
|
@@ -7,11 +7,11 @@ class Tramway::Conference::UnityDecorator < ::Tramway::Core::ApplicationDecorato
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def show_attributes
|
10
|
-
[
|
10
|
+
%i[title tagline logo address phone latitude longtitude url found_date email]
|
11
11
|
end
|
12
12
|
|
13
13
|
def show_associations
|
14
|
-
[
|
14
|
+
[:social_networks]
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -28,14 +28,15 @@
|
|
28
28
|
- @collection_news = @news
|
29
29
|
|
30
30
|
%br
|
31
|
-
.
|
32
|
-
.row-fluid
|
33
|
-
%h1.text-center
|
34
|
-
Ближайшие мероприятия
|
35
|
-
- @close_events.each do |event|
|
31
|
+
- if @close_events.any?
|
36
32
|
.container
|
37
33
|
.row-fluid
|
38
|
-
|
34
|
+
%h1.text-center
|
35
|
+
Ближайшие мероприятия
|
36
|
+
- @close_events.each do |event|
|
37
|
+
.container
|
38
|
+
.row-fluid
|
39
|
+
= render 'tramway/landing/templates/section_with_image_and_text', block: event
|
39
40
|
|
40
41
|
- content_for :main_image do
|
41
42
|
= request.protocol + request.host_with_port + @blocks.select { |block| block.model.block_type.header? }.first.background.url
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
::Tramway::Auth.
|
3
|
+
::Tramway::Auth.root_path_for Tramway::User::User => '/admin'
|
4
4
|
::Tramway::Admin.set_singleton_models ::Tramway::Conference::Unity, project: :conference
|
5
5
|
::Tramway::Admin.set_available_models(::Tramway::Event::Event,
|
6
6
|
::Tramway::Event::ParticipantFormField,
|
@@ -27,6 +27,10 @@ module Tramway::Conference::Generators
|
|
27
27
|
add_url_to_tramway_conference_unities
|
28
28
|
add_found_date_to_tramway_conference_unities
|
29
29
|
add_email_to_tramway_conference_unities
|
30
|
+
add_main_image_to_tramway_conference_unities
|
31
|
+
add_favicon_to_tramway_conference_unities
|
32
|
+
add_name_to_tramway_conference_unities
|
33
|
+
add_public_name_to_tramway_conference_unities
|
30
34
|
]
|
31
35
|
migrations.each do |migration_name|
|
32
36
|
migration_template "#{migration_name}.rb", "db/migrate/#{migration_name}.rb"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-conference
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Korotin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Engine for Conference web sites
|
15
15
|
email:
|
@@ -49,7 +49,11 @@ files:
|
|
49
49
|
- lib/tramway/conference/engine.rb
|
50
50
|
- lib/tramway/conference/generates/install_generator.rb
|
51
51
|
- lib/tramway/conference/generates/templates/add_email_to_tramway_conference_unities.rb
|
52
|
+
- lib/tramway/conference/generates/templates/add_favicon_to_tramway_conference_unities.rb
|
52
53
|
- lib/tramway/conference/generates/templates/add_found_date_to_tramway_conference_unities.rb
|
54
|
+
- lib/tramway/conference/generates/templates/add_main_image_to_tramway_conference_unities.rb
|
55
|
+
- lib/tramway/conference/generates/templates/add_name_to_tramway_conference_unities.rb
|
56
|
+
- lib/tramway/conference/generates/templates/add_public_name_to_tramway_conference_unities.rb
|
53
57
|
- lib/tramway/conference/generates/templates/add_url_to_tramway_conference_unities.rb
|
54
58
|
- lib/tramway/conference/generates/templates/create_tramway_conference_unities.rb
|
55
59
|
- lib/tramway/conference/version.rb
|