From a0ffab098beddde336bf05875573462469bb268f Mon Sep 17 00:00:00 2001 From: William Hale Date: Tue, 11 Aug 2015 06:23:41 -0700 Subject: [PATCH] Wrapped voted? notification in label to promote visibility. --- app/views/admin/events/index.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/admin/events/index.html.haml b/app/views/admin/events/index.html.haml index 5edf4d81..10a99f6d 100644 --- a/app/views/admin/events/index.html.haml +++ b/app/views/admin/events/index.html.haml @@ -57,9 +57,11 @@ %br - voted = event.voted?(event, current_user) - if voted - Your rating: #{voted.rating} + %span.label.label-success + Your rating: #{voted.rating} - else - Not rated + %span.label.label-danger + Not rated - else 0/#{@conference.call_for_paper.rating} %br