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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b9528fd8e1cc3cf184a9c71fa6f6b0d2143c9183c42362b7a7732893034e6da
4
- data.tar.gz: 79363b5660333000d20a5f494ae09b825e690f3c441ba9c4d25bb42f5870a8ed
3
+ metadata.gz: fee6ebf471b1278f5dbaa148407d35902b279493695ea85312c622f45300e8be
4
+ data.tar.gz: 9fdb671ab2618ea7f6cafcd516d8053cad575cc1f3b56fe19c9e86bfe0c3c339
5
5
  SHA512:
6
- metadata.gz: e2231d684dadd3e378ae4d72f773dbebd73ef1f6833b05965cfeb57ae4cfe589cd9525558412b57a573c6f2ca4827617462a1c023e6d1a583636f2e39ae13979
7
- data.tar.gz: 9733679208c4a62f9328f141d29ae06868f44254410ec7ae37d83d5bbaf47f014b4787fbaeb2cacb58386e4449d3a1736cc67db888fa43582d25147801dc4774
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', frontend_conferences_url, class: %w[Header-link py-2 py-lg-0]
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', frontend_conferences_url, class: %w[Header-link]
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 frontend_conference_url(presentation_type.conference, presentation_type: presentation_type.id, tab: 'presentations'),
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 frontend_conference_url(@conference, tab: 'presentations'),
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: frontend_conference_url(@conference, tab: 'information', presentation_type: @presentation_type&.id),
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: frontend_conference_url(@conference, tab: 'presentations', presentation_type: @presentation_type&.id),
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: frontend_conference_url(@conference, tab: 'events', presentation_type: @presentation_type&.id),
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
@@ -3,7 +3,7 @@
3
3
  module Spina
4
4
  module Conferences
5
5
  module PrimerTheme
6
- VERSION = '0.4.1'
6
+ VERSION = '0.4.2'
7
7
  end
8
8
  end
9
9
  end
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.1
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-04-29 00:00:00.000000000 Z
11
+ date: 2021-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: babel-transpiler