Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Fix 1014 #1017

Merged
merged 137 commits into from
Mar 23, 2017
Merged

Fix 1014 #1017

merged 137 commits into from
Mar 23, 2017

Conversation

adeolabadmus
Copy link
Contributor

Fixes #1014

cc @HospitalRun/core-maintainers

Chima1707 and others added 30 commits January 26, 2017 16:23
Chima1707 and others added 24 commits March 10, 2017 11:50
Copy link
Member

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adeolabadmus thanks for the PR. There are a couple of things that need to be changed below.

@@ -1241,7 +1241,8 @@ export default {
author: 'Author'
},
visitType: 'Visit Type',
examiner: 'Visit Examiner',
visitExaminer: 'Visit Examiner',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need two different labels here. Just use Examiner.

@@ -55,7 +55,7 @@

{{#if visit.examiner }}
<div class="ps-info-group test-examiner">
<p><b class="test-examiner-label">{{t 'reports.labels.examiner' }}:</b>
<p><b class="test-examiner-label">{{t 'reports.labels.visitExaminer' }}:</b>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use reports.labels.examiner instead of reports.labels.visitExaminer.

@@ -181,13 +181,12 @@
<span class="test-visit-discharge-date-data">{{date-format model.reportDate format="DD/MM/YYYY"}}</span>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't notice this before -- this shouldn't be specifying a date format, it should use the default for the data-helper, which is the locale specific date. Please take off the format="DD/MM/YYYY"

@adeolabadmus
Copy link
Contributor Author

@jkleinsc Changes have been effected.

@jkleinsc
Copy link
Member

Looks good to me @adeolabadmus. Thanks for updating! I'll merge it in.

@jkleinsc jkleinsc merged commit ae68dae into HospitalRun:master Mar 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants