spina-conferences-primer_theme-fork 1.0.0.rc4 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/builds/spina/conferences/primer_theme/application.css +8 -0
- data/app/assets/stylesheets/spina/conferences/primer_theme/application.sass +6 -0
- data/app/views/conferences_primer_theme/pages/homepage.html.haml +1 -1
- data/app/views/conferences_primer_theme/partials/_homepage_item.html.haml +4 -4
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_events.html.haml +1 -1
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentations.html.haml +5 -5
- data/app/views/spina/conferences/primer_theme/conferences/conferences/index.html.haml +1 -1
- data/app/views/spina/conferences/primer_theme/conferences/conferences/show.html.haml +25 -1
- data/config/locales/en.yml +5 -0
- data/lib/spina/conferences/primer_theme/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6e459aff2a4320b3c8e5e7478b46ad6ff4c320774c5ace95f584cc6ebbacd1e
|
4
|
+
data.tar.gz: 56538fef4bbef7b06b1fa32581d2a2f4a1f6cc5f359433d9b4bf2372c710cd6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fbeecf7301c1c774cd95121dc367c7863d86fca65831f6d01d66fc21a3aa2329a2f7376fdf878da8e53c4932709671c639933e09a3f32fe2934ffd07a5f5d2f
|
7
|
+
data.tar.gz: c306fa6fdb4bfcc7668985e478096e817e2f1fd11143cc9857e50b5a9ef96f9645334ddf5d0a6de49dcf6d3caba35d259f8993a30d8f83a75c533732124f6209
|
@@ -25962,3 +25962,11 @@ address {
|
|
25962
25962
|
width: 100%;
|
25963
25963
|
height: 70vh;
|
25964
25964
|
}
|
25965
|
+
|
25966
|
+
img {
|
25967
|
+
background-color: white !important;
|
25968
|
+
}
|
25969
|
+
|
25970
|
+
.breadcrumb-item {
|
25971
|
+
white-space: normal !important;
|
25972
|
+
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
- if content(:carousel).present?
|
7
7
|
.height-full.d-flex.flex-column.flex-justify-between{data: { controller: :slideshow, slideshow_incrementer: 0, slideshow_advance: true, slideshow_delay: 20000} }
|
8
8
|
- content(:carousel).each_with_index do |carousel_item, index|
|
9
|
-
= render partial: 'conferences_primer_theme/partials/homepage_item', locals: { item: carousel_item }
|
9
|
+
= render partial: 'conferences_primer_theme/partials/homepage_item', locals: { item: carousel_item, index: index }
|
10
10
|
- if content(:carousel).many?
|
11
11
|
.container-lg.height-full.d-flex.flex-column-reverse.mb-8{ style: 'z-index: 5' }
|
12
12
|
= render(Primer::ButtonGroup.new) do |component|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
%div{ data: { slideshow_target: 'slide' } }
|
1
|
+
%div{ data: { slideshow_target: 'slide' }, hidden: (index != 0) }
|
2
2
|
- if item.content(:background_image).present?
|
3
3
|
= render Primer::BoxComponent.new(position: :absolute, top: false, left: false, right: false, bottom: false, style: 'z-index: 1') do
|
4
4
|
= image_tag(main_app.url_for(item.content(:background_image).variant(resize_to_limit: [1680, 1680])),
|
@@ -9,11 +9,11 @@
|
|
9
9
|
class: %w[width-full height-full])
|
10
10
|
.container-lg.p-responsive.position-relative.color-text-white.height-full{ style: 'z-index: 3'}
|
11
11
|
= render Primer::BoxComponent.new(py: [3, nil, nil, 6]) do
|
12
|
-
%div{ style: 'text-shadow: 0 1px 1px #01040940, 0 1px 25px #010409bf;' }
|
12
|
+
%div{ style: 'color: var(--color-scale-white); text-shadow: 0 1px 1px #01040940, 0 1px 25px #010409bf;' }
|
13
13
|
= render(Primer::HeadingComponent.new(tag: :h1, classes: 'h000-mktg lh-condensed-ultra')) do
|
14
14
|
= item.content(:title)
|
15
|
-
%div{ style: '
|
16
|
-
= render(Primer::Markdown.new(my: 4)) do
|
15
|
+
%div{ style: 'color: var(--color-scale-white); text-shadow: 0 1px 1px #010409bf, 0 1px 25px #010409bf;' }
|
16
|
+
= render(Primer::Markdown.new(my: 4, font_size: 3)) do
|
17
17
|
= item.content.html(:description).to_s
|
18
18
|
- if item.content(:url).present?
|
19
19
|
= link_to t('.more_info'), item.content(:url),
|
@@ -14,6 +14,6 @@
|
|
14
14
|
= render Primer::Beta::Blankslate.new do |blankslate|
|
15
15
|
- blankslate.visual_icon(icon: 'calendar')
|
16
16
|
- blankslate.heading(tag: :h3).with_content(t(:'.no_events'))
|
17
|
-
= render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }) do |blankslate|
|
17
|
+
= render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }, hidden: true) do |blankslate|
|
18
18
|
- blankslate.visual_icon(icon: 'calendar')
|
19
19
|
- blankslate.heading(tag: :h3).with_content(t(:'.no_matching_events'))
|
data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentations.html.haml
CHANGED
@@ -24,9 +24,9 @@
|
|
24
24
|
locals: { conference: @conference }, cached: -> presentation { [presentation, presentation.presenters] }
|
25
25
|
= paginate @presentations.sorted, views_prefix: 'spina/conferences/primer_theme/conferences'
|
26
26
|
- else
|
27
|
-
|
27
|
+
= render Primer::Beta::Blankslate.new do |blankslate|
|
28
|
+
- blankslate.visual_icon(icon: 'mortar-board')
|
29
|
+
- blankslate.heading(tag: :h3).with_content(t(:'.no_presentations'))
|
30
|
+
= render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }, hidden: true) do |blankslate|
|
28
31
|
- blankslate.visual_icon(icon: 'mortar-board')
|
29
|
-
- blankslate.heading(tag: :h3).with_content(t(:'.
|
30
|
-
= render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }) do |blankslate|
|
31
|
-
- blankslate.visual_icon(icon: 'mortar-board')
|
32
|
-
- blankslate.heading(tag: :h3).with_content(t(:'.no_matching_presentations'))
|
32
|
+
- blankslate.heading(tag: :h3).with_content(t(:'.no_matching_presentations'))
|
@@ -21,6 +21,6 @@
|
|
21
21
|
= render Primer::Beta::Blankslate.new do |blankslate|
|
22
22
|
- blankslate.visual_icon(icon: 'mortar-board')
|
23
23
|
- blankslate.heading(tag: :h3).with_content(t(:'.no_conferences'))
|
24
|
-
= render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }) do |blankslate|
|
24
|
+
= render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }, hidden: true) do |blankslate|
|
25
25
|
- blankslate.visual_icon(icon: 'mortar-board')
|
26
26
|
- blankslate.heading(tag: :h3).with_content(t(:'.no_matching_conferences'))
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
- content_for(:header) { render 'header' }
|
5
5
|
|
6
|
-
= turbo_frame_tag 'conference_tabs' do
|
6
|
+
= turbo_frame_tag 'conference_tabs', target: '_top' do
|
7
7
|
= render Primer::Alpha::UnderlineNav.new(tag: :div, label: t(:'.conference_navigation')) do |component|
|
8
8
|
- component.tab(href: frontend_conference_path(@conference, tab: 'information', presentation_type: @presentation_type&.id),
|
9
9
|
selected: (@tab == 'information'), id: 'information') do
|
@@ -22,6 +22,30 @@
|
|
22
22
|
- case @tab
|
23
23
|
- when 'information'
|
24
24
|
- cache [@conference, @tab] do
|
25
|
+
= render Primer::BoxComponent.new(mt: 4,
|
26
|
+
col: [12, nil, 5, nil],
|
27
|
+
float: [nil, nil, :right, nil],
|
28
|
+
border: true,
|
29
|
+
border_radius: 3,
|
30
|
+
p: 3) do
|
31
|
+
- if @conference.content(:documents).present?
|
32
|
+
= render Primer::SubheadComponent.new do |component|
|
33
|
+
= component.heading { t :'.documents.title' }
|
34
|
+
%ul
|
35
|
+
- repeater @conference.content(:documents) do |document|
|
36
|
+
%li.list-style-none.py-1.d-flex.flex-items-center
|
37
|
+
= render Primer::BoxComponent.new(flex: :auto) do
|
38
|
+
- if document.content(:name).present?
|
39
|
+
= document.content(:name)
|
40
|
+
- else
|
41
|
+
= t(:'.documents.no_name')
|
42
|
+
- if document.content(:attachment).present?
|
43
|
+
= render Primer::ButtonComponent.new(tag: :a, ml: 2, href: document.content.attachment_url(:attachment),
|
44
|
+
download: '') do
|
45
|
+
= render Primer::OcticonComponent.new('desktop-download')
|
46
|
+
= t(:'.documents.download')
|
47
|
+
- else
|
48
|
+
= render(Primer::Beta::Text.new(color: :muted, font_size: 6)) { t :'.documents.no_file' }
|
25
49
|
- if @conference.content(:text).present?
|
26
50
|
= render(Primer::Markdown.new(my: 4)) { @conference.content.html(:text).to_s }
|
27
51
|
- else
|
data/config/locales/en.yml
CHANGED
@@ -96,6 +96,11 @@ en:
|
|
96
96
|
tab_does_not_exist: "The tab '%{tab}' does not exist."
|
97
97
|
no_information: No information.
|
98
98
|
conference_navigation: Conference content
|
99
|
+
documents:
|
100
|
+
title: Downloads
|
101
|
+
download: Download
|
102
|
+
no_file: No file uploaded.
|
103
|
+
no_name: Untitled
|
99
104
|
presentations:
|
100
105
|
all_presentation_types: All
|
101
106
|
results: Results
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spina-conferences-primer_theme-fork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Malčić
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-03-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: babel-transpiler
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.0.
|
76
|
+
version: 0.0.69
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - '='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.0.
|
83
|
+
version: 0.0.69
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: rails
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,28 +129,28 @@ dependencies:
|
|
129
129
|
requirements:
|
130
130
|
- - '='
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: 3.0.0
|
132
|
+
version: 3.0.0
|
133
133
|
type: :runtime
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - '='
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 3.0.0
|
139
|
+
version: 3.0.0
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: spina-admin-journal
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
|
-
- -
|
144
|
+
- - "~>"
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: 1.0
|
146
|
+
version: '1.0'
|
147
147
|
type: :runtime
|
148
148
|
prerelease: false
|
149
149
|
version_requirements: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
|
-
- -
|
151
|
+
- - "~>"
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version: 1.0
|
153
|
+
version: '1.0'
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
155
|
name: capybara
|
156
156
|
requirement: !ruby/object:Gem::Requirement
|
@@ -446,9 +446,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
446
446
|
version: '2.7'
|
447
447
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
448
448
|
requirements:
|
449
|
-
- - "
|
449
|
+
- - ">="
|
450
450
|
- !ruby/object:Gem::Version
|
451
|
-
version:
|
451
|
+
version: '0'
|
452
452
|
requirements: []
|
453
453
|
rubygems_version: 3.1.6
|
454
454
|
signing_key:
|