spina-conferences-primer_theme 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/spina/application/_mobile_navigation_items.html.haml +1 -1
- data/app/views/spina/application/_navigation.html.haml +1 -1
- data/app/views/spina/conferences/primer_theme/conferences/_presentation_type.html.haml +1 -1
- data/app/views/spina/conferences/primer_theme/conferences/_presentations.html.haml +1 -1
- data/app/views/spina/conferences/primer_theme/conferences/show.html.haml +3 -3
- data/lib/spina/conferences/primer_theme/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fee6ebf471b1278f5dbaa148407d35902b279493695ea85312c622f45300e8be
|
4
|
+
data.tar.gz: 9fdb671ab2618ea7f6cafcd516d8053cad575cc1f3b56fe19c9e86bfe0c3c339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37ace1c57074d2067673442fbe7baea80e819694999c9180d494336682a63101e7f20d81ea1d28a52ce77eebe9d608dac2ce5a971dc87f2e7b78a8285d277284
|
7
|
+
data.tar.gz: 13deb15dd48fb7b1f046e3fe65d6e95f40ed305f82fff015f7188d7a8ef7a5a2aabbb3b9cadaef6f0949ca68554b5aa2a9d7ebfd5c44e13b936fd47fb4d4c5d9
|
@@ -1,3 +1,3 @@
|
|
1
1
|
%nav.d-flex.flex-column.flex-self-stretch
|
2
2
|
= render partial: 'mobile_navigation_item', collection: main_navigation_items, cached: true, as: :navigation_item
|
3
|
-
.Header-item.mr-0.border-top.border-white-fade-15= link_to 'Conferences',
|
3
|
+
.Header-item.mr-0.border-top.border-white-fade-15= link_to 'Conferences', frontend_conferences_path, class: %w[Header-link py-2 py-lg-0]
|
@@ -7,4 +7,4 @@
|
|
7
7
|
.Header-item.Header-item--full.flex-column.width-full.flex-order-1.mr-0.mt-3
|
8
8
|
= render partial: 'mobile_navigation_items'
|
9
9
|
= render partial: 'navigation_item', collection: main_navigation_items, cached: true
|
10
|
-
.Header-item.d-none.d-lg-flex= link_to 'Conferences',
|
10
|
+
.Header-item.d-none.d-lg-flex= link_to 'Conferences', frontend_conferences_path, class: %w[Header-link]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
%li
|
2
|
-
= link_to
|
2
|
+
= link_to frontend_conference_path(presentation_type.conference, presentation_type: presentation_type.id, tab: 'presentations'),
|
3
3
|
class: 'filter-item', aria: { current: @presentation_type == presentation_type ? 'page' : nil } do
|
4
4
|
= presentation_type.name.pluralize
|
5
5
|
%span.count{ title: t(:'.results') }= presentation_type.presentations.count
|
@@ -4,7 +4,7 @@
|
|
4
4
|
%ul.filter-list
|
5
5
|
- cache [@conference.presentations, @presentation_type] do
|
6
6
|
%li
|
7
|
-
= link_to
|
7
|
+
= link_to frontend_conference_path(@conference, tab: 'presentations'),
|
8
8
|
class: 'filter-item', aria: { current: ('page' if @presentation_type.blank?) } do
|
9
9
|
= t('.all_presentation_types')
|
10
10
|
%span.count{ title: t(:'.results') }= @conference.presentations.count
|
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
= turbo_frame_tag 'conference_tabs' do
|
7
7
|
= render Primer::UnderlineNavComponent.new(label: t(:'.conference_navigation')) do |component|
|
8
|
-
- component.tab(href:
|
8
|
+
- component.tab(href: frontend_conference_path(@conference, tab: 'information', presentation_type: @presentation_type&.id),
|
9
9
|
aria: { selected: (@tab == 'information').to_s }, classes: 'UnderlineNav-item', role: 'tab') do
|
10
10
|
= t(:'.tabs.information')
|
11
|
-
- component.tab(href:
|
11
|
+
- component.tab(href: frontend_conference_path(@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
|
-
- component.tab(href:
|
14
|
+
- component.tab(href: frontend_conference_path(@conference, tab: 'events', presentation_type: @presentation_type&.id),
|
15
15
|
aria: { selected: (@tab == 'events').to_s }, classes: 'UnderlineNav-item', role: 'tab') do
|
16
16
|
= t(:'.tabs.events')
|
17
17
|
- component.actions do
|
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.4.
|
4
|
+
version: 0.4.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-
|
11
|
+
date: 2021-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babel-transpiler
|