spina-conferences-primer_theme-fork 1.0.0.rc5 → 1.0.0.rc6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00467bcdd3c545ab2e4a2d7a92e019b05cfc7cae8f8bbb22cd991147cc6a6a7f
4
- data.tar.gz: 97da422f5db0d66a21b96a5c7c415420550d8b52d14cae671d359cc970085796
3
+ metadata.gz: 368c56ce1c8e46990e158e126482ccfdb4cb642155137de454e392f069122253
4
+ data.tar.gz: 65f336153d9d62c27b31583b6279a38ce22dc0bd6c0d1483623b7c01a78fcad6
5
5
  SHA512:
6
- metadata.gz: 12ffc1d3642b707ab69d7a8e0f6618d3f99f8e426cfc47919b1a1a1eb78104c5693cf5db0f0ec03e386df221fe16f80a9a41a3ab2ffa0a7835be90d0404f8096
7
- data.tar.gz: 8870974d0ad0f62f879fde375536cda65122e35dad473eed2fc6f2ef22d12354e31e63a6628feb7dd99a37c49140e722a40c861f9f7b55cef987bef09847e489
6
+ metadata.gz: f520220033ab6a8f5513fbfab3da718d56cecddeb12c2530bec85c555dad46a2699433b3e5ecfb07790cc85a4a404a53f7031a05c61ba55e30a5be5fde911cf7
7
+ data.tar.gz: 52cb679bd54df86e7f71519da986cf87d1a7fc37c37bb8804aa8d6aa88c076b0ce65a459f5736683daddd3a278217457bc52cf6d5dc2d7819fc07270a0eb23c2
@@ -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
+ }
@@ -45,3 +45,6 @@ address
45
45
 
46
46
  img
47
47
  background-color: white !important
48
+
49
+ .breadcrumb-item
50
+ white-space: normal !important
@@ -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
@@ -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
@@ -3,7 +3,7 @@
3
3
  module Spina
4
4
  module Conferences
5
5
  module PrimerTheme
6
- VERSION = '1.0.0.rc5'
6
+ VERSION = '1.0.0.rc6'
7
7
  end
8
8
  end
9
9
  end
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.rc5
4
+ version: 1.0.0.rc6
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-02-07 00:00:00.000000000 Z
12
+ date: 2022-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: babel-transpiler
@@ -129,14 +129,14 @@ dependencies:
129
129
  requirements:
130
130
  - - '='
131
131
  - !ruby/object:Gem::Version
132
- version: 3.0.0.rc3
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.rc3
139
+ version: 3.0.0
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: spina-admin-journal
142
142
  requirement: !ruby/object:Gem::Requirement