spina-conferences-primer_theme-fork 1.0.0.rc5 → 1.0.1
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 +4 -0
- data/app/assets/stylesheets/spina/conferences/primer_theme/application.sass +3 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_events.html.haml +1 -1
- data/app/views/spina/conferences/primer_theme/conferences/conferences/show.html.haml +25 -1
- data/app/views/spina/conferences/primer_theme/journal/issues/_issue_cover.html.haml +5 -6
- data/config/locales/en.yml +5 -0
- data/lib/spina/conferences/primer_theme/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf459b9f3dfadd95748b72b56329832cf5a29dc8a603e607512614bbbdd0f819
|
4
|
+
data.tar.gz: 4210cad24f1e0e1f592157f69c43e1cf7448b713264615177f0319b985498eb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 511837f35bc0fdb2b7b231a51f39bcb083786c4edb6cc0aedb64d27833a32e7121f83fbd729093635532fb3470d16d80a0b0ea6d101ae66904f9dc3409f6631b
|
7
|
+
data.tar.gz: 9cef478ea1c34c095cd654e904083805ca2631880cf90ece271f3435b63d753708a02f0d888a5888681e21ff2d21fde79a310e6422fe5f30b722ce55cd798f58
|
@@ -25966,3 +25966,7 @@ address {
|
|
25966
25966
|
img {
|
25967
25967
|
background-color: white !important;
|
25968
25968
|
}
|
25969
|
+
|
25970
|
+
.breadcrumb-item {
|
25971
|
+
white-space: normal !important;
|
25972
|
+
}
|
@@ -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'))
|
@@ -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
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
class: 'p-1'
|
1
|
+
= image_tag main_app.url_for(cover_img.variant(resize_to_limit: size)),
|
2
|
+
srcset: srcset(cover_img, variant: { resize_to_limit: size }),
|
3
|
+
alt: t('spina.conferences.primer_theme.journal.volume_issue', volume_number: issue.volume.number, issue_number: issue.number),
|
4
|
+
draggable: false,
|
5
|
+
class: 'p-1'
|
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.
|
4
|
+
version: 1.0.1
|
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-25 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,14 +129,14 @@ 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
|
@@ -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:
|