- title t('dabbleme')

.center
  %h1 Welcome to Dabble Me
  %h4.muted The open-source replacement for OhLife
  %br
  %br

-if user_signed_in?
  %hr
  %h3 User Details for #{current_user.full_name_or_email}
  .well
    %strong Frequency:
    #{pluralize(current_user.frequency.count, "day")}
    =current_user.frequency
    %br
    %strong Send Time:
    =current_user.send_time
    %br
    %strong Send Timezone:
    =current_user.send_timezone
    %br
    %strong Send Past Entry:
    =current_user.send_past_entry
    %br
    %strong Emails Sent:
    =current_user.emails_sent
    %br
    %strong Emails Received:
    =current_user.emails_received
    %br
    %strong Sign In Count:
    =current_user.sign_in_count

%hr

%h3 Admin Dashboard
.well
  - %w(Sunday Monday Tueday Wednesday Thursday Friday Saturday).each do |day|
    %strong #{User.where('frequency ~ ?', day[0..2]).count} #{day} Users
    %br


- title t('dabbleme')

.center
  %h1 Welcome to Dabble Me
  %h4.muted The open-source replacement for OhLife
  %br
  %br

-#
  -if user_signed_in?
    %hr
    %h3 User Details for #{current_user.full_name_or_email}
    .well
      %strong Frequency:
      #{pluralize(current_user.frequency.count, "day")}
      =current_user.frequency
      %br
      %strong Send Time:
      =current_user.send_time
      %br
      %strong Send Timezone:
      =current_user.send_timezone
      %br
      %strong Send Past Entry:
      =current_user.send_past_entry
      %br
      %strong Emails Sent:
      =current_user.emails_sent
      %br
      %strong Emails Received:
      =current_user.emails_received
      %br
      %strong Sign In Count:
      =current_user.sign_in_count

  %hr

  %h3 Admin Dashboard
  .well
    - %w(Sunday Monday Tueday Wednesday Thursday Friday Saturday).each do |day|
      %strong #{User.where('frequency ~ ?', day[0..2]).count} #{day} Users
      %br


Remove dashboard for regular users
Remove dashboard for regular users
