summaryrefslogtreecommitdiff
path: root/app/views/users/_index_core.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/_index_core.html.haml')
-rw-r--r--app/views/users/_index_core.html.haml15
1 files changed, 11 insertions, 4 deletions
diff --git a/app/views/users/_index_core.html.haml b/app/views/users/_index_core.html.haml
index 87d3c4c..77b8c95 100644
--- a/app/views/users/_index_core.html.haml
+++ b/app/views/users/_index_core.html.haml
@@ -4,8 +4,12 @@
%tr
%th
%th= t('users.index.user_name')
- %th= t('users.index.email')
- %th= t('users.index.first_name')
+ %th
+ %span.hidden-phone
+ = t('users.index.email')
+ %th
+ %span.hidden-phone
+ = t('users.index.first_name')
%th= t('users.index.last_name')
%tbody
@@ -23,7 +27,10 @@
%td= user.user_name
%td
- if !user.email.blank?
- = mail_to user.email, (Haml::Engine.new("%i.icon-envelope").render + ' ' + user.email)
- %td= user.first_name
+ %span.hidden-phone
+ = mail_to user.email, (Haml::Engine.new("%i.icon-envelope").render + ' ' + user.email)
+ %td
+ %span.hidden-phone
+ = user.first_name
%td= user.last_name
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => @tenant, :child => user} \ No newline at end of file