renalware-core 2.0.62 → 2.0.63
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/renalware/modules/_hd.scss +18 -7
- data/app/controllers/renalware/hd/transmission_logs_controller.rb +1 -1
- data/app/validators/renalware/patients/weight_validator.rb +1 -1
- data/app/views/renalware/hd/transmission_logs/index.html.slim +21 -8
- data/config/locales/renalware/clinical/dry_weight.en.yml +1 -1
- data/config/locales/renalware/hd/session.en.yml +1 -1
- data/lib/renalware/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: f61f781fe0dc02b33492af2c0007e8533192f9479042bb6966884a9e09cf78ee
|
4
|
+
data.tar.gz: 496511b58dc7bd6e5229b0e5c8979d85b5df30300a3760ac086ced22043a6062
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7195cf7fbde424de5e8a79c973c8216dff8582ffcf9c72fe08ba483ad92bfb6a493d0f504ba400c6bca8e5079124dd1681f20f2b97522ffa182d71b06318751
|
7
|
+
data.tar.gz: 11de42735fbd3daad0adde101af9f08ce730061e123f445f60918f53e5bc592a26dcd8d707d063c39df177df58cb5af844c79e15d57eb1ffc3ca3779ccf5f021
|
@@ -1,10 +1,21 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
.hd_transmission_logs {
|
2
|
+
tr {
|
3
|
+
&.session_import_success {
|
4
|
+
td.result {
|
5
|
+
background: lighten($nhs-light-green, 50);
|
6
|
+
}
|
7
|
+
}
|
8
|
+
&.file {
|
9
|
+
td {
|
10
|
+
background: $off-white;
|
11
|
+
border-bottom: solid 2px $charcoal;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
&.session_import_error {
|
15
|
+
td.result {
|
16
|
+
background-color:lighten($nhs-pink, 50);
|
17
|
+
}
|
18
|
+
}
|
8
19
|
}
|
9
20
|
}
|
10
21
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
th.col-width-medium Patient
|
12
12
|
th.col-width-small Ext Session Id
|
13
13
|
th.col-width-small Session Id
|
14
|
-
th.col-width-
|
14
|
+
th.col-width-large Result
|
15
15
|
th Errors
|
16
16
|
tbody
|
17
17
|
- logs.each do |log|
|
@@ -19,24 +19,37 @@
|
|
19
19
|
klass = if log.parent_id.present?
|
20
20
|
log.session_id.present? ? "session_import_success" : "session_import_error"
|
21
21
|
else
|
22
|
-
""
|
22
|
+
"file"
|
23
23
|
end
|
24
24
|
tr(class=klass)
|
25
25
|
td= l(log.created_at)
|
26
26
|
td= log.direction
|
27
27
|
td= log.format
|
28
|
-
td
|
28
|
+
td
|
29
|
+
- if log.payload.present?
|
30
|
+
= link_to "...",
|
29
31
|
hd_transmission_log_path(log, format: :xml),
|
30
32
|
class: "button small_ellipsis_button",
|
31
33
|
target: "_blank"
|
32
34
|
td
|
33
|
-
span(title=log.filepath)
|
35
|
+
span(title=log.filepath)
|
36
|
+
- filename = log.filepath && Pathname(log.filepath).basename
|
37
|
+
- if filename.present?
|
38
|
+
i.fas.fa-file
|
39
|
+
|
|
40
|
+
= filename
|
34
41
|
td= log.patient && link_to(log.patient, patient_hd_sessions_path(log.patient))
|
35
|
-
td
|
36
|
-
|
42
|
+
td
|
43
|
+
- if log.parent_id.present?
|
44
|
+
= log.external_session_id
|
45
|
+
- else
|
46
|
+
i.fas.fa-arrow
|
47
|
+
td
|
37
48
|
- if log.patient && log.session
|
38
49
|
= link_to log.session_id, patient_hd_session_path(log.patient, log.session)
|
39
|
-
td
|
40
|
-
|
50
|
+
td.result
|
51
|
+
= log.result
|
52
|
+
td.result
|
53
|
+
= log.error_messages.compact.uniq.join("<br>").html_safe
|
41
54
|
|
42
55
|
= paginate logs
|
@@ -10,7 +10,7 @@ en:
|
|
10
10
|
attributes:
|
11
11
|
weight:
|
12
12
|
out_of_range: Must be between 5.0 and 300.0 kg
|
13
|
-
invalid_number: Please enter a number with up to
|
13
|
+
invalid_number: Please enter a number with up to 2 decimal places, for example 100 or 100.11
|
14
14
|
renalware:
|
15
15
|
clinical:
|
16
16
|
dry_weights:
|
@@ -80,7 +80,7 @@ en:
|
|
80
80
|
out_of_range: Please enter a pulse between 20 and 200
|
81
81
|
weight:
|
82
82
|
out_of_range: Please enter a weight between 5.0 and 300.0 kg
|
83
|
-
invalid_number: Please enter a number with up to
|
83
|
+
invalid_number: Please enter a number with up to 2 decimal place, for example 100 or 100.11
|
84
84
|
temperature:
|
85
85
|
out_of_range: Please enter a temperature between 28.0 and 45.0°C
|
86
86
|
invalid_number: Please enter a number with up to 1 decimal place, for example 37 or 37.1
|
data/lib/renalware/version.rb
CHANGED
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.
|
4
|
+
version: 2.0.63
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_type
|