spina-admin-conferences 2.0.0 → 2.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.
Files changed (21) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/spina/admin/conferences/conferences_controller.rb +1 -1
  3. data/app/controllers/spina/admin/conferences/delegates_controller.rb +1 -1
  4. data/app/controllers/spina/admin/conferences/dietary_requirements_controller.rb +1 -1
  5. data/app/controllers/spina/admin/conferences/institutions_controller.rb +1 -1
  6. data/app/controllers/spina/admin/conferences/presentation_attachment_types_controller.rb +1 -1
  7. data/app/controllers/spina/admin/conferences/presentation_types_controller.rb +1 -1
  8. data/app/controllers/spina/admin/conferences/presentations_controller.rb +1 -1
  9. data/app/controllers/spina/admin/conferences/rooms_controller.rb +1 -1
  10. data/app/controllers/spina/admin/conferences/sessions_controller.rb +1 -1
  11. data/app/views/spina/admin/conferences/conferences/index.html.haml +1 -0
  12. data/app/views/spina/admin/conferences/delegates/index.html.haml +1 -0
  13. data/app/views/spina/admin/conferences/dietary_requirements/index.html.haml +1 -0
  14. data/app/views/spina/admin/conferences/institutions/index.html.haml +1 -0
  15. data/app/views/spina/admin/conferences/presentation_attachment_types/index.html.haml +1 -0
  16. data/app/views/spina/admin/conferences/presentation_types/index.html.haml +1 -0
  17. data/app/views/spina/admin/conferences/presentations/index.html.haml +1 -0
  18. data/app/views/spina/admin/conferences/rooms/index.html.haml +1 -0
  19. data/app/views/spina/admin/conferences/sessions/index.html.haml +1 -0
  20. data/lib/spina/admin/conferences/version.rb +1 -1
  21. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a71edd30ad8eff8c5822e7f0d9a720bbc80804a93c47149adae874a02012e74
4
- data.tar.gz: 86a9f3fe0a03fe899f19683575af0b50955ca88d56f7a360c76b0d0ac86d8f5f
3
+ metadata.gz: 4422ca6e7b9b65669d3442a22035ef7f22e4ab3ea7ce817ba416fe73682e04a6
4
+ data.tar.gz: af3da71b479742ac85a894c2ada05967ee7307a07cde2205d353374898e5ae13
5
5
  SHA512:
6
- metadata.gz: b4054ac1be55dcd68fd82bfd65b6691e85fbf6e563b79d6c3ad44f8f4742a8408cdca956f3dfce56687da81e5a7239e66da31ab9714c12d95954722b6e6df1c8
7
- data.tar.gz: 3c340adae480041e88a964c31f2f5f9dcd9259843e9ddbf19ac0ab96d21cb1a845466d442a927286ad32dfd826f63a54c38a3bf67f1771cc41b5e08711b4f034
6
+ metadata.gz: 92eefe536ddfffab205b45a0888f3f9a88c133a26352810788b5cf927909c83cb016215f4614bed25f3f5fc93e4377f6a081c02359dc854d69a24d26337920c8
7
+ data.tar.gz: d8e69093d00ecf8f14c1f6cedbfdfd1f419de19d8e485f466fb57b9974229b883120949230d1af63b3aa34dcfc9751ceeacd4bcaf9f432ce58c17cfd6a4658e1
@@ -33,7 +33,7 @@ module Spina
33
33
  # Renders a list of conferences.
34
34
  # @return [void]
35
35
  def index
36
- @conferences = Conference.sorted
36
+ @conferences = Conference.sorted.page(params[:page])
37
37
  end
38
38
 
39
39
  # Renders a form for a new conference.
@@ -15,7 +15,7 @@ module Spina
15
15
  # Renders a list of delegates.
16
16
  # @return [void]
17
17
  def index
18
- @delegates = Delegate.sorted
18
+ @delegates = Delegate.sorted.page(params[:page])
19
19
  end
20
20
 
21
21
  # Renders a form for a new delegate.
@@ -15,7 +15,7 @@ module Spina
15
15
  # Renders a list of dietary requirements.
16
16
  # @return [void]
17
17
  def index
18
- @dietary_requirements = DietaryRequirement.sorted
18
+ @dietary_requirements = DietaryRequirement.sorted.page(params[:page])
19
19
  end
20
20
 
21
21
  # Renders a form for a new dietary requirement.
@@ -15,7 +15,7 @@ module Spina
15
15
  # Renders a list of institutions.
16
16
  # @return [void]
17
17
  def index
18
- @institutions = Institution.sorted
18
+ @institutions = Institution.sorted.page(params[:page])
19
19
  end
20
20
 
21
21
  # Renders a form for a new institution.
@@ -14,7 +14,7 @@ module Spina
14
14
  # Renders a list of presentation attachment types.
15
15
  # @return [void]
16
16
  def index
17
- @presentation_attachment_types = PresentationAttachmentType.sorted
17
+ @presentation_attachment_types = PresentationAttachmentType.sorted.page(params[:page])
18
18
  end
19
19
 
20
20
  # Renders a form for a new presentation attachment type.
@@ -17,7 +17,7 @@ module Spina
17
17
  # Renders a list of presentation types.
18
18
  # @return [void]
19
19
  def index
20
- @presentation_types = PresentationType.sorted
20
+ @presentation_types = PresentationType.sorted.page(params[:page])
21
21
  end
22
22
 
23
23
  # Renders a form for a new presentation type.
@@ -16,7 +16,7 @@ module Spina
16
16
  # Renders a list of presentations.
17
17
  # @return [void]
18
18
  def index
19
- @presentations = Presentation.sorted
19
+ @presentations = Presentation.sorted.page(params[:page])
20
20
  end
21
21
 
22
22
  # Renders a form for a new presentation.
@@ -17,7 +17,7 @@ module Spina
17
17
  # Renders a list of rooms.
18
18
  # @return [void]
19
19
  def index
20
- @rooms = Room.sorted
20
+ @rooms = Room.sorted.page(params[:page])
21
21
  end
22
22
 
23
23
  # Renders a form for a new room.
@@ -18,7 +18,7 @@ module Spina
18
18
  # Renders a list of sessions.
19
19
  # @return [void]
20
20
  def index
21
- @sessions = Session.all
21
+ @sessions = Session.all.page(params[:page])
22
22
  end
23
23
 
24
24
  # Renders a form for a new session.
@@ -4,3 +4,4 @@
4
4
  = t '.new'
5
5
 
6
6
  = render partial: 'conferences', object: @conferences
7
+ = link_to_next_page @conferences, 'Next'
@@ -10,3 +10,4 @@
10
10
  = t '.new'
11
11
 
12
12
  = render partial: 'delegates', object: @delegates
13
+ = link_to_next_page @delegates, 'Next'
@@ -4,3 +4,4 @@
4
4
  = t '.new'
5
5
 
6
6
  = render partial: 'dietary_requirements', object: @dietary_requirements
7
+ = link_to_next_page @dietary_requirements, 'Next'
@@ -4,3 +4,4 @@
4
4
  = t '.new'
5
5
 
6
6
  = render partial: 'institutions', object: @institutions
7
+ = link_to_next_page @institutions, 'Next'
@@ -4,3 +4,4 @@
4
4
  = t '.new'
5
5
 
6
6
  = render partial: 'presentation_attachment_types', object: @presentation_attachment_types
7
+ = link_to_next_page @presentation_attachment_types, 'Next'
@@ -4,3 +4,4 @@
4
4
  = t '.new'
5
5
 
6
6
  = render partial: 'presentation_types', object: @presentation_types
7
+ = link_to_next_page @presentation_types, 'Next'
@@ -10,3 +10,4 @@
10
10
  = t '.new'
11
11
 
12
12
  = render partial: 'presentations', object: @presentations
13
+ = link_to_next_page @presentations, 'Next'
@@ -4,3 +4,4 @@
4
4
  = t '.new'
5
5
 
6
6
  = render partial: 'rooms', object: @rooms
7
+ = link_to_next_page @rooms, 'Next'
@@ -4,3 +4,4 @@
4
4
  = t '.new'
5
5
 
6
6
  = render partial: 'sessions', object: @sessions
7
+ = link_to_next_page @sessions, 'Next'
@@ -4,7 +4,7 @@ module Spina
4
4
  module Admin
5
5
  module Conferences
6
6
  # Version number.
7
- VERSION = '2.0.0'
7
+ VERSION = '2.0.1'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina-admin-conferences
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
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-13 00:00:00.000000000 Z
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: icalendar