tramway-sport_school 1.1 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18f9cf574496980cb372147937f035d29d3a656adce67815a2f0a7799bb4536b
4
- data.tar.gz: f60c147a37a78aff7a998a87090548ace19b7e32823845e26243d0cbf1686ba1
3
+ metadata.gz: 82798ccf497929344f92a69d87241cae1e2bfe8c5631cd8a2918a4bbb266c97a
4
+ data.tar.gz: 0a2139ee20705e41dd9f9f36186424571aa33ab1b2cddf5b23040a8987b8a8e1
5
5
  SHA512:
6
- metadata.gz: 272e16193f2a11f958cb44a4a93136c292828bda42b8674b13030b898893186b654fb1c88e53ff4a514dab63907db807aa10b278e1ab145e43a5832ec0bd9619
7
- data.tar.gz: ee57ea22a2dfe56373f060da6f7c7f75b408cf68ea61b8d39e4ac7279f1694457b267d0208a960390633a2f4f47e078e2d7d29803b6523985b9ae849eb70cab8
6
+ metadata.gz: b56ebc5afe3f87720cc65590e21d90963acd4698f6ed6201615390adce15b19d63552acdc340046c8fcc4f8562dbe0e4a799b9645c4ccfd220c8130dba400b45
7
+ data.tar.gz: e3b1e69bd465c0808e6c2a46e6311f58d6bb78e0127fac869f6a848b02dad04b9db667e3fdfec34cc7e31ac1d49bcd1b33ab486af6b4b80f55c7fd9e07094fca
@@ -4,7 +4,7 @@ class Tramway::SportSchool::Cards::TrainerDecorator < ::Tramway::Landing::BlockT
4
4
  end
5
5
 
6
6
  def title
7
- "#{object.last_name} #{object.first_name}. #{object.patronymic}."
7
+ "#{object.last_name} #{object.first_name} #{object.patronymic}"
8
8
  end
9
9
 
10
10
  delegate :description, to: :object
@@ -31,13 +31,15 @@
31
31
 
32
32
  = content_for :footer_logos do
33
33
  - @organizations.each do |organization|
34
- = image_tag organization.logo.url
34
+ = link_to organization.link do
35
+ = image_tag organization.logo.url
35
36
 
36
37
  = content_for :latitude do
37
38
  = @institution.latitude
38
39
 
39
40
  = content_for :longtitude do
40
41
  = @institution.longtitude
41
- - @collection_parents = @trainers
42
+
43
+ - @collection_trainers = @trainers
42
44
  - @collection_kindsports = @kind_sports
43
45
  - @collection_news = @news
@@ -11,6 +11,7 @@ module Tramway::SportSchool::Generators
11
11
  generate 'tramway:landing:install'
12
12
  generate 'tramway:profiles:install'
13
13
  generate 'tramway:news:install'
14
+ generate 'ckeditor:install --orm=active_record --backend=carrierwave'
14
15
  end
15
16
 
16
17
  def self.next_migration_number(path)
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module SportSchool
3
- VERSION = '1.1'
3
+ VERSION = '1.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-sport_school
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-21 00:00:00.000000000 Z
11
+ date: 2018-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg