renalware-core 2.0.2 → 2.0.3

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: 8f579d475315f2250e3bd086f651bcb9fc0c38838f74b649fb9f439fdb21b4db
4
- data.tar.gz: 7ab7db9d4572a88eef14a8a0dd3ce0ed47c741c07f1838cb24cb856177aac239
3
+ metadata.gz: 03a33697674a37e0920fd04ad84fd5660c6b526e9084ff923e5ec277d8914a27
4
+ data.tar.gz: 138b635e40913eba766e0f995b38d14cecbcdf3054a330e35e372a40893a3d5c
5
5
  SHA512:
6
- metadata.gz: cc57a5702a16893bdd206b58ec3b124b947d0c0694a45fb1dd63069de8521e8900f3b2496cb055ec75defcbad3935f8bbb93d9ef382f8859a826efa8b738524b
7
- data.tar.gz: f01dbf8296ec8c9e1df88862270393dd0a19de91db300a1c30483d906ff6a60d7de24808a7089806b86f124bd09126e1673853d0edf0b39402dfb03c1b4ad4e0
6
+ metadata.gz: 19b2535e3b70433394f48cf4f74e714b3ca033c38d67cb43ea09a37a6070ea3bc32f678e1af665118d803615da213bec6241a80c8d101b336f5bdbdd43600718
7
+ data.tar.gz: f4ac2e6ef943e8c77e0c9f6b4ac8b0b860327fb19f7e3dc49f14c7ac2fe20c2e88ae6061facc707ef7040b01d4e0fa0ae5cbb8deda01b8228bf3ac6df7e400e8
@@ -4,19 +4,24 @@
4
4
  url: admissions_consults_path,
5
5
  method: :get do |f|
6
6
  .row
7
- .columns.medium-4.large-3
7
+ .columns.medium-3.large-2
8
8
  = f.input :consult_site_id_eq,
9
9
  collection: Renalware::Admissions::ConsultSite.pluck(:name, :id),
10
10
  label: "Site"
11
- .columns.medium-3.large-2
11
+ .columns.medium-2.large-1
12
12
  = f.input :requires_aki_nurse_eq,
13
13
  collection: [["Yes", true], ["No", false]],
14
- label: "AKI Nurse required"
14
+ label: "AKI Nurse req."
15
15
  .columns.medium-2.large-1
16
16
  = f.input :seen_by_id_eq,
17
17
  include_blank: false,
18
18
  collection: [["Anyone", nil], ["Me", current_user.id]],
19
19
  label: "Seen by"
20
+ .columns.medium-2.large-1
21
+ = f.input :aki_risk_eq,
22
+ include_blank: true,
23
+ collection: Renalware::Admissions::Consult.aki_risk.values.map{ |value| [value.text, value] },
24
+ label: "AKI Risk"
20
25
  .columns.medium-2.large-2.actions.end
21
26
  = f.submit "Filter", class: "button"
22
27
  span= " or "
@@ -2,15 +2,15 @@
2
2
  table
3
3
  thead
4
4
  tr
5
- th.col-width-large Location
5
+ th.col-width-large= sort_link(query, :consult_site_id, "Location")
6
6
  th.at-least.col-width-medium Patient
7
7
  th.col-width-nhs-no NHS No.
8
8
  th.col-width-reference-no Hosp Nos.
9
9
  th.col-width-medium Modality
10
10
  th.col-width-tiny Sex
11
11
  th.col-width-tiny Age
12
- th.col-width-small AKI Risk
13
- th.col-width-small AKI Nurse?
12
+ th.col-width-tiny= sort_link(query, :aki_risk, "AKI Risk")
13
+ th.col-width-tiny= sort_link(query, :requires_aki_nurse, " AKI Nurse?")
14
14
  th.show-for-large-up Author
15
15
  th.col-width-medium Description
16
16
  th.col-width-tiny
@@ -8,5 +8,5 @@
8
8
  |  first
9
9
 
10
10
  = render "filters", query: query
11
- = render "table", consults: consults
11
+ = render "table", consults: consults, query: query
12
12
  = paginate consults
@@ -16,4 +16,5 @@
16
16
  .actions
17
17
  = f.submit "Log in", class: "button save"
18
18
 
19
+ = render "signup_help"
19
20
  = render "devise/shared/links"
@@ -1,3 +1,3 @@
1
1
  module Renalware
2
- VERSION = "2.0.2".freeze
2
+ VERSION = "2.0.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-12 00:00:00.000000000 Z
11
+ date: 2018-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -2055,6 +2055,7 @@ files:
2055
2055
  - app/views/renalware/devise/passwords/new.html.erb
2056
2056
  - app/views/renalware/devise/registrations/edit.html.slim
2057
2057
  - app/views/renalware/devise/registrations/new.html.slim
2058
+ - app/views/renalware/devise/sessions/_signup_help.html.slim
2058
2059
  - app/views/renalware/devise/sessions/_warning.html.slim
2059
2060
  - app/views/renalware/devise/sessions/new.html.slim
2060
2061
  - app/views/renalware/directory/people/_address_form.html.slim