From 43ec7f1ace8b3e15f30218f283e8411f194a34de Mon Sep 17 00:00:00 2001 From: Adeola Badmus Date: Tue, 7 Mar 2017 10:52:05 +0100 Subject: [PATCH] Style select element properly; Add titles to report --- app/locales/en/translations.js | 4 +++- app/reports/edit/template.hbs | 5 +++++ app/styles/_print.scss | 8 ++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/app/locales/en/translations.js b/app/locales/en/translations.js index 87c8762fd8..290fd5d9d4 100644 --- a/app/locales/en/translations.js +++ b/app/locales/en/translations.js @@ -1105,7 +1105,9 @@ export default { }, reports: { titles: { - saved: 'The report has been saved' + saved: 'Report saved', + opdTitle: 'OPD Report', + dischargeReport: 'Discharge Report' }, form: { visitDate: 'Date of Visit', diff --git a/app/reports/edit/template.hbs b/app/reports/edit/template.hbs index a7ec5840fa..1789130db3 100644 --- a/app/reports/edit/template.hbs +++ b/app/reports/edit/template.hbs @@ -14,6 +14,11 @@ {{#if headerLine3}} {{headerLine3}}
{{/if}} + {{#if isOutPatient}} +

{{t 'reports.titles.opdTitle' }}

+ {{else}} +

{{t 'reports.titles.dischargeReport' }}

+ {{/if}}
{{#edit-panel editPanelProps=editPanelProps}} diff --git a/app/styles/_print.scss b/app/styles/_print.scss index 67337bde3e..045c426172 100644 --- a/app/styles/_print.scss +++ b/app/styles/_print.scss @@ -50,6 +50,14 @@ font-size: .8em; } + .report select { + -webkit-appearance: none; + -moz-appearance: none; + outline: 0; + border: 0; + text-overflow: ''; + } + .report .panel-primary { position: absolute; left: 0;