diff --git a/app/locales/de/translations.js b/app/locales/de/translations.js index 717575a12c..6f8b7bcc38 100644 --- a/app/locales/de/translations.js +++ b/app/locales/de/translations.js @@ -143,7 +143,8 @@ export default { no_users_found: 'Keine Benutzer gefunden.', are_you_sure_delete: 'Wollen Sie den Benutzer {{user}} sicher löschen?', user_has_been_saved: 'Der Benutzer wurde gespeichert.', - user_saved: 'Benutzer gespeichert' + user_saved: 'Benutzer gespeichert', + for_authorized_persons: 'Dieser Bericht ist nur für autorisierte Personen.' }, buttons: { complete: 'Abschließen', diff --git a/app/locales/en/translations.js b/app/locales/en/translations.js index 6df5908a2d..e5987017c5 100644 --- a/app/locales/en/translations.js +++ b/app/locales/en/translations.js @@ -362,7 +362,8 @@ export default { on_behalf_of: 'on behalf of', new_patient_has_to_be_created: 'A new patient needs to be created...Please wait..', no_notes_available: 'No additional clinical notes are available for this visit.', - sorry: 'Sorry, something went wrong...' + sorry: 'Sorry, something went wrong...', + for_authorized_persons: 'This report is for authorized persons only.' }, alerts: { please_wait: 'Please Wait' diff --git a/app/locales/es-CO/translations.js b/app/locales/es-CO/translations.js index f9e1b5e8ad..123cb82bcc 100644 --- a/app/locales/es-CO/translations.js +++ b/app/locales/es-CO/translations.js @@ -292,7 +292,8 @@ export default { on_behalf_of: 'a nombre de', new_patient_has_to_be_created: 'Un nuevo paciente debe ser creado...Por favor espere..', no_notes_available: 'No hay notas clínicas adicionales están disponibles para esta visita.', - sorry: 'Lo sentimos, un error ha ocurrido...' + sorry: 'Lo sentimos, un error ha ocurrido...', + for_authorized_persons: 'Este informe es sólo para personas autorizadas.' }, alerts: { please_wait: 'Por favor espere' diff --git a/app/locales/es/translations.js b/app/locales/es/translations.js index f9e1b5e8ad..123cb82bcc 100644 --- a/app/locales/es/translations.js +++ b/app/locales/es/translations.js @@ -292,7 +292,8 @@ export default { on_behalf_of: 'a nombre de', new_patient_has_to_be_created: 'Un nuevo paciente debe ser creado...Por favor espere..', no_notes_available: 'No hay notas clínicas adicionales están disponibles para esta visita.', - sorry: 'Lo sentimos, un error ha ocurrido...' + sorry: 'Lo sentimos, un error ha ocurrido...', + for_authorized_persons: 'Este informe es sólo para personas autorizadas.' }, alerts: { please_wait: 'Por favor espere' diff --git a/app/locales/fr/translations.js b/app/locales/fr/translations.js index 4356c3dc12..80e2ead57f 100644 --- a/app/locales/fr/translations.js +++ b/app/locales/fr/translations.js @@ -294,7 +294,8 @@ export default { on_behalf_of: 'de la part de', new_patient_has_to_be_created: 'Un nouveau patient doit être crée...Veuillez attendre...', no_notes_available: 'Aucune note clinique supplémentaire disponible pour cette visite.', - sorry: 'Désolé, quelque chose a mal tourné ...' + sorry: 'Désolé, quelque chose a mal tourné ...', + for_authorized_persons: 'Ce rapport est destiné uniquement aux personnes autorisées.' }, alerts: { please_wait: 'Veuillez attendre' diff --git a/app/locales/pt-BR/translations.js b/app/locales/pt-BR/translations.js index 890ce89b0f..75cfe1afeb 100644 --- a/app/locales/pt-BR/translations.js +++ b/app/locales/pt-BR/translations.js @@ -27,7 +27,8 @@ export default { }, messages: { no_items_found: 'Nenhum item encontrado', - create_new_record: 'Criar uma nova gravação?' + create_new_record: 'Criar uma nova gravação?', + for_authorized_persons: 'Este relatório é apenas para pessoas autorizadas.' }, buttons: { complete: 'Completo', diff --git a/app/locales/ru/translations.js b/app/locales/ru/translations.js index 607e6202c5..74517606e5 100755 --- a/app/locales/ru/translations.js +++ b/app/locales/ru/translations.js @@ -27,7 +27,8 @@ export default { }, messages: { no_items_found: 'Ничего не найдено.', - create_new_record: 'Создать новую запись?' + create_new_record: 'Создать новую запись?', + for_authorized_persons: 'Этот отчет предназначен только для уполномоченных лиц.' }, buttons: { complete: 'Готово', diff --git a/app/locales/tr/translations.js b/app/locales/tr/translations.js index 23055a3923..8d63b73374 100644 --- a/app/locales/tr/translations.js +++ b/app/locales/tr/translations.js @@ -27,7 +27,8 @@ export default { }, messages: { no_items_found: 'Hiçbir öğe bulunamadı.', - create_new_record: 'Yeni bir kayıt oluştur?' + create_new_record: 'Yeni bir kayıt oluştur?', + for_authorized_persons: 'Bu rapor yetkili kişiler içindir.' }, buttons: { complete: 'Bitir', diff --git a/app/styles/_print.scss b/app/styles/_print.scss new file mode 100644 index 0000000000..683bd70667 --- /dev/null +++ b/app/styles/_print.scss @@ -0,0 +1,35 @@ +.print-section { + display: none; +} + +@media print { + * { + background-color: $white; + color: $black; + font-size: 16px; + } + + .panel-default { + position: absolute; + left: 0; + margin: 0 5%; + width: 90%; + } + + .print-section { + display: block; + text-align: center; + } + + .panel-footer, + .btn, + .nav, + .view-current-title { + display: none; + } + + .patient-history-heading { + border-bottom: 1px solid $black; + } + +} diff --git a/app/styles/_temp_misc.scss b/app/styles/_temp_misc.scss index f9420c4c3c..5c40ffd89a 100644 --- a/app/styles/_temp_misc.scss +++ b/app/styles/_temp_misc.scss @@ -99,11 +99,3 @@ $table-header-color: rgba($navy_drk2,.7); from { transform: scale(1) rotate(0deg); } to { transform: scale(1) rotate(360deg); } } - -@media print { - body { font-size: 10px; } - - .ember-application { padding-left: 0; } - - .panel-footer { display: none; } -} diff --git a/app/styles/_variables_mixins.scss b/app/styles/_variables_mixins.scss index 5eec4130b2..89f0ecee62 100644 --- a/app/styles/_variables_mixins.scss +++ b/app/styles/_variables_mixins.scss @@ -2,6 +2,7 @@ // -------------------------------------------/ $white: #fff; +$black: #000; $green: #00bd9c; $green_light: #13d8b6; $navy: #2e4359; diff --git a/app/styles/app.scss b/app/styles/app.scss index f6e13df1b4..6585e9ac4e 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -5,6 +5,7 @@ @import 'base'; @import 'layout'; @import 'index'; +@import 'print'; @import 'temp_misc'; @import 'sign_in_screen'; @import 'loading_notice'; diff --git a/app/templates/section.hbs b/app/templates/section.hbs index 48be81ebe9..49732643f4 100644 --- a/app/templates/section.hbs +++ b/app/templates/section.hbs @@ -4,6 +4,7 @@

{{currentScreenTitle}}

+
{{#if newButtonAction}}