From d996d1bb0ef8c33cca63be0169a07405177ed866 Mon Sep 17 00:00:00 2001 From: Chrisbr Date: Sat, 4 Oct 2014 09:34:57 +0200 Subject: [PATCH] Fixes the top bar icons of the instance dashboard fix #507 --- app/views/admin/conference/show.html.haml | 24 +++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/app/views/admin/conference/show.html.haml b/app/views/admin/conference/show.html.haml index f07e9d2a..089263eb 100644 --- a/app/views/admin/conference/show.html.haml +++ b/app/views/admin/conference/show.html.haml @@ -7,28 +7,40 @@ .dashbox.text-center %span.fa.fa-user.fa-lg %span.fa.fa-lg - = @total_user + = @total_reg %p %small - #{'Registration'.pluralize(@registration_targets)} + #{'Registration'.pluralize(@total_reg)} + - if @new_reg + %span.label.label-success{title: "+#{@new_reg} since you last logged in!"} + + + = @new_reg .col-sm-4.col-xs-4 .dashbox.text-center %span.fa.fa-check-square.fa-lg %span.fa.fa-lg - = @total_reg + = @total_submissions %p %small - #{'Submission'.pluralize(@submission_targets)} + #{'Submission'.pluralize(@total_submissions)} + - if @new_submissions + %span.label.label-success{title: "+#{@new_submissions} since you last logged in!"} + + + = @new_submissions .col-sm-4.col-xs-4 .dashbox.text-center %span.fa.fa-file-text.fa-lg %span.fa.fa-lg - = @total_submissions + = @program_length %p %small - #{'Hour'.pluralize(@program_minutes_targets)} + #{'Hour'.pluralize(@program_length)} + - if @new_reg + %span.label.label-success{title: "+#{@new_program_length} since you last logged in!"} + + + = @new_program_length .row .col-md-12