tramway-conference 0.1.0 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/tramway/conference/application_controller.rb +1 -1
- data/app/views/tramway/conference/web/welcome/index.html.haml +8 -10
- data/config/initializers/tramway.rb +2 -6
- data/lib/tramway/conference.rb +9 -0
- data/lib/tramway/conference/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a53edf9a561a8ea8ffc738ec18b56fec4bf7a580263aee9c2e097c20388413b
|
4
|
+
data.tar.gz: 3aaf3d256263818047eef5248a7fbf5a723c634309558cbdd07c579fb6c7eb89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 640b642c9172e3ec1ce6d7555e87766be18b963057d0b0a4d6f881e1c9b7bc64eb9aeb9d3986afe63963ac340e3eb37d4e147d64aa40cad3ce89c4aa5d5085c4
|
7
|
+
data.tar.gz: 1e635b0ac6934b243784c3d8df80473cf33a53289289b9882badb151496180db62b5f2d901fa79292af3dbc36cc31aabc1d62deaf7a4e1d86e8c1635ccbbc3a7
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Tramway
|
2
2
|
module Conference
|
3
|
-
class ApplicationController <
|
3
|
+
class ApplicationController < ::Tramway::Core::ApplicationController
|
4
4
|
layout 'tramway/landing/application'
|
5
5
|
protect_from_forgery with: :exception
|
6
6
|
before_action :application
|
@@ -1,26 +1,24 @@
|
|
1
|
-
|
2
1
|
= content_for :head_content do
|
3
2
|
= stylesheet_link_tag 'tramway/conference/application', media: 'all'
|
4
3
|
= javascript_include_tag 'tramway/conference/application'
|
5
4
|
|
6
5
|
= content_for :application_name do
|
7
|
-
= @application
|
6
|
+
= @application&.title || t('application.name')
|
8
7
|
|
9
8
|
= content_for :title do
|
10
|
-
= @application
|
9
|
+
= @application&.title || t('application.name')
|
11
10
|
|
12
11
|
= content_for :application_tagline do
|
13
|
-
= @application
|
12
|
+
= @application&.tagline || t('application.tagline')
|
14
13
|
|
15
14
|
= content_for :address do
|
16
|
-
= @unity
|
15
|
+
= @unity&.address
|
17
16
|
|
18
17
|
= content_for :phone do
|
19
|
-
= @unity
|
18
|
+
= @unity&.phone
|
20
19
|
|
21
20
|
= content_for :navbar do
|
22
|
-
|
23
|
-
= menu_item t("blocks.navbar_links.#{block}"), "##{block}"
|
21
|
+
= nil
|
24
22
|
|
25
23
|
= content_for :footer_links do
|
26
24
|
= nil
|
@@ -29,9 +27,9 @@
|
|
29
27
|
= nil
|
30
28
|
|
31
29
|
= content_for :latitude do
|
32
|
-
= @unity
|
30
|
+
= @unity&.latitude
|
33
31
|
|
34
32
|
= content_for :longtitude do
|
35
|
-
= @unity
|
33
|
+
= @unity&.longtitude
|
36
34
|
|
37
35
|
- @collection_news = @news
|
@@ -1,8 +1,4 @@
|
|
1
1
|
::Tramway::User.root_path = '/admin'
|
2
|
-
|
3
|
-
# ::Tramway::SportSchool::Trainer,
|
4
|
-
# ::Tramway::SportSchool::Document,
|
5
|
-
# ::Tramway::SportSchool::Organization
|
6
|
-
::Tramway::Admin.set_singleton_models ::Tramway::Conference::Unity
|
7
|
-
::Tramway::Core.initialize_application model_class: ::Tramway::Conference::Unity
|
2
|
+
::Tramway::Admin.set_singleton_models(::Tramway::Conference::Unity, project: :conference)
|
8
3
|
::Tramway::Profiles.records = [ ::Tramway::Conference::Unity ]
|
4
|
+
::Tramway::Core.initialize_application model_class: ::Tramway::Conference::Unity
|
data/lib/tramway/conference.rb
CHANGED
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:
|
4
|
+
version: '1.0'
|
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: 2018-
|
12
|
+
date: 2018-07-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pg
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
85
|
rubyforge_project:
|
86
|
-
rubygems_version: 2.7.
|
86
|
+
rubygems_version: 2.7.6
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: Engine for Conference web sites
|