Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#190: Added infinite scrcoll on mobile. #203

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"drupal/pathauto": "~8.1",
"drupal/block_visibility_groups": "~8.1",
"drupal/imagemagick": "~8.1",
"drupal/field_group": "~8.0"
"drupal/field_group": "~8.0",
"drupal/views_infinite_scroll": "^8.1"
},
"require-dev": {
"behat/mink": "~1.7",
Expand Down
38 changes: 35 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions config/sync/core.entity_view_display.node.sponsor.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ content:
weight: 101
settings: { }
third_party_settings: { }
created:
label: hidden
type: timestamp
weight: 0
settings:
date_format: medium
custom_date_format: ''
timezone: ''
third_party_settings: { }
field_logo:
weight: 103
label: above
Expand Down
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ module:
update: 0
user: 0
views: 0
views_infinite_scroll: 0
views_ui: 0
pathauto: 1
minimal: 1000
Expand Down
9 changes: 5 additions & 4 deletions config/sync/views.view.attendees.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- user.role.attendee
module:
- user
- views_infinite_scroll
id: attendees
label: Attendees
module: views
Expand Down Expand Up @@ -48,7 +49,7 @@ display:
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: full
type: infinite_scroll
options:
items_per_page: 20
offset: 0
Expand All @@ -57,8 +58,6 @@ display:
tags:
previous: ‹‹
next: ››
first: '« First'
last: 'Last »'
expose:
items_per_page: false
items_per_page_label: 'Items per page'
Expand All @@ -67,7 +66,9 @@ display:
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
quantity: 9
views_infinite_scroll:
button_text: 'Load More'
automatically_load_content: true
style:
type: html_list
row:
Expand Down