From 514494d421859c18190efb6d54397c20bab1cf50 Mon Sep 17 00:00:00 2001 From: Daniel Mee Date: Thu, 27 Aug 2020 12:58:18 -0600 Subject: [PATCH] MAT-1694_email_icon_bug (#1503) * MAT-1694_email_icon_bug (#1502) * created new column for email trigger so that its position isn't affected by the email address * cleanup * fixed spec * added cell to edit view to maintain spacing --- app/assets/javascripts/templates/users/edit_user.hbs | 1 + app/assets/javascripts/templates/users/table_header.hbs | 1 + app/assets/javascripts/templates/users/user.hbs | 3 ++- app/assets/stylesheets/users.less | 8 ++------ 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/templates/users/edit_user.hbs b/app/assets/javascripts/templates/users/edit_user.hbs index d8c56dd6b..bbf7d9f93 100644 --- a/app/assets/javascripts/templates/users/edit_user.hbs +++ b/app/assets/javascripts/templates/users/edit_user.hbs @@ -1,4 +1,5 @@ + {{measure_count}} {{patient_count}} diff --git a/app/assets/javascripts/templates/users/table_header.hbs b/app/assets/javascripts/templates/users/table_header.hbs index 43ecddbb3..2fea5ae5f 100644 --- a/app/assets/javascripts/templates/users/table_header.hbs +++ b/app/assets/javascripts/templates/users/table_header.hbs @@ -1,5 +1,6 @@ Email Address + Measures ({{totalMeasures}}) Patients ({{totalPatients}}) Admin? diff --git a/app/assets/javascripts/templates/users/user.hbs b/app/assets/javascripts/templates/users/user.hbs index e1e3e807d..e26357736 100644 --- a/app/assets/javascripts/templates/users/user.hbs +++ b/app/assets/javascripts/templates/users/user.hbs @@ -1,4 +1,5 @@ -{{email}} +{{email}} + {{measure_count}} {{patient_count}} {{#if admin}}checked{{/if}} diff --git a/app/assets/stylesheets/users.less b/app/assets/stylesheets/users.less index 2780b3f44..40d588ad2 100644 --- a/app/assets/stylesheets/users.less +++ b/app/assets/stylesheets/users.less @@ -6,11 +6,7 @@ font-size: 1.25em; color: @brand-primary; } - td.user-email { - white-space: nowrap; - i { - cursor: pointer; - margin-left: 5px; - } + i.email-user { + cursor: pointer; } }