spina-conferences-primer_theme 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/spina/conferences/primer_theme/_custom_variables.sass +0 -0
- data/app/assets/stylesheets/spina/conferences/primer_theme/application.sass +1 -0
- data/app/controllers/spina/conferences/primer_theme/conferences_controller.rb +2 -2
- data/app/views/conferences_primer_theme/pages/about.html.haml +1 -1
- data/app/views/conferences_primer_theme/pages/homepage.html.haml +5 -4
- data/app/views/spina/conferences/primer_theme/conferences/show.html.haml +1 -1
- data/config/locales/en.yml +10 -0
- data/lib/spina/conferences/primer_theme/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 936083c4293cbc611194be98f61919d3ebafb7fba30657fe953a03b0168b95ef
|
4
|
+
data.tar.gz: c278c8c41ec3a012cc6a4e5c6b66c233459b0e3fe3e4a11841f2f2f72e916f1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3bb1a5ffa62d39071a3afc7d871781e4be937a73e6e860dfed3bd09bd1c63fe776aa705b09b7b83adeeca5bc6865470571ccc9826550891465054ca454e9114
|
7
|
+
data.tar.gz: 10a589d62195e08be32b6300842f92ff39dea79ec27d18015c1e2d9bc0bf41f06ef67256c8ab5015d80be0be8de91b1530522a4d931d90296e47c33199fec72f
|
File without changes
|
@@ -44,9 +44,9 @@ module Spina
|
|
44
44
|
|
45
45
|
def set_presentations
|
46
46
|
@presentations = if @presentation_type.present?
|
47
|
-
@presentation_type.presentations.page(params[:page])
|
47
|
+
@presentation_type.presentations.page(params[:page]).per(15)
|
48
48
|
else
|
49
|
-
@conference.presentations.page(params[:page])
|
49
|
+
@conference.presentations.page(params[:page]).per(15)
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
@@ -60,7 +60,7 @@
|
|
60
60
|
- else
|
61
61
|
= render(Primer::TextComponent.new(tag: :div, font_size: 6, color: :text_secondary)) { t :'.documents.no_file' }
|
62
62
|
|
63
|
-
= render Primer::SubheadComponent.new do |component|
|
63
|
+
= render Primer::SubheadComponent.new(mt: 4) do |component|
|
64
64
|
= component.heading { t :'.partner_societies.title' }
|
65
65
|
- if content(:partner_societies).present?
|
66
66
|
%ul
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- cache [current_page, current_conference] do
|
3
3
|
= render Primer::BoxComponent.new(position: :relative, style: 'height: 639px') do
|
4
4
|
= render Primer::BoxComponent.new(position: :absolute, top: false, left: false, right: false, bottom: false,
|
5
|
-
style: 'background-color: var(--color-
|
5
|
+
style: 'background-color: var(--color-scale-blue-9)')
|
6
6
|
- if content(:gallery).present?
|
7
7
|
= render Primer::FlexComponent.new(position: :absolute, top: false, left: false, right: false, bottom: false, style: 'z-index: 1',
|
8
8
|
flex_direction: :column, justify_content: :center, align_items: :center,
|
@@ -12,9 +12,9 @@
|
|
12
12
|
srcset: srcset(image, variant: { resize_to_limit: [1680, 1680] }),
|
13
13
|
style: 'object-fit: cover; max-width: max-content; max-height: max-content',
|
14
14
|
data: { slideshow_target: 'slide' }, class: %w[width-full height-full])
|
15
|
-
.container-lg.p-responsive.position-relative.text-white.height-full{ style: 'z-index: 2' }
|
15
|
+
.container-lg.p-responsive.position-relative.color-text-white.height-full{ style: 'z-index: 2' }
|
16
16
|
= render Primer::BoxComponent.new(py: [3, nil, nil, 6]) do
|
17
|
-
|
17
|
+
%div{ style: 'text-shadow: 0 1px 1px #01040940, 0 1px 25px #010409bf;' }
|
18
18
|
- if current_conference.present?
|
19
19
|
= render(Primer::HeadingComponent.new(tag: :h1, classes: 'h000-mktg lh-condensed-ultra')) { current_conference.name }
|
20
20
|
= render Primer::TextComponent.new(tag: :address, classes: 'f2-light') do
|
@@ -27,4 +27,5 @@
|
|
27
27
|
- if current_conference.present? && current_conference.finish_date >= Date.today
|
28
28
|
= link_to t('.more_info'), frontend_conference_path(current_conference),
|
29
29
|
class: %w[btn-mktg btn-large-mktg btn-primary-mktg f3 mt-4]
|
30
|
-
|
30
|
+
%div{ style: 'text-shadow: 0 1px 1px rgba(var(--color-scale-black), 0.25), 0 1px 25px rgba(var(--color-scale-black), 0.75);' }
|
31
|
+
= render(Primer::MarkdownComponent.new(my: 4)) { content(:text).try(:html_safe) }
|
@@ -9,7 +9,7 @@
|
|
9
9
|
aria: { selected: (@tab == 'information').to_s }, classes: 'UnderlineNav-item', role: 'tab') do
|
10
10
|
= t(:'.tabs.information')
|
11
11
|
- component.tab(href: frontend_conference_url(@conference, tab: 'presentations', presentation_type: @presentation_type&.id),
|
12
|
-
|
12
|
+
aria: { selected: (@tab == 'presentations').to_s }, classes: 'UnderlineNav-item', role: 'tab') do
|
13
13
|
= t(:'.tabs.presentations')
|
14
14
|
- component.tab(href: frontend_conference_url(@conference, tab: 'events', presentation_type: @presentation_type&.id),
|
15
15
|
aria: { selected: (@tab == 'events').to_s }, classes: 'UnderlineNav-item', role: 'tab') do
|
data/config/locales/en.yml
CHANGED
@@ -150,6 +150,16 @@ en:
|
|
150
150
|
show:
|
151
151
|
room_and_institution: "%{room}, %{institution}"
|
152
152
|
|
153
|
+
kaminari:
|
154
|
+
next_page:
|
155
|
+
next: Next
|
156
|
+
next_page: Next page
|
157
|
+
prev_page:
|
158
|
+
previous: Previous
|
159
|
+
previous_page: Previous page
|
160
|
+
page:
|
161
|
+
page: Page %{number}
|
162
|
+
|
153
163
|
languages:
|
154
164
|
en-GB: British English
|
155
165
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spina-conferences-primer_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Malčić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babel-transpiler
|
@@ -290,6 +290,7 @@ files:
|
|
290
290
|
- app/assets/javascripts/spina/conferences/primer_theme/application.js
|
291
291
|
- app/assets/javascripts/spina/conferences/primer_theme/controllers/slideshow_controller.es6
|
292
292
|
- app/assets/stylesheets/spina/conferences/primer_theme/_custom.sass
|
293
|
+
- app/assets/stylesheets/spina/conferences/primer_theme/_custom_variables.sass
|
293
294
|
- app/assets/stylesheets/spina/conferences/primer_theme/application.sass
|
294
295
|
- app/controllers/spina/conferences/primer_theme/application_controller.rb
|
295
296
|
- app/controllers/spina/conferences/primer_theme/conferences_controller.rb
|