From 4ffa34a4d69930fa2c8f4ac8f4d7e6aa79102ced Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Thu, 7 May 2015 22:52:52 +0200 Subject: [PATCH] Only show historical active user cound when current doesn't exceed limit. --- app/views/admin/licenses/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/licenses/show.html.haml b/app/views/admin/licenses/show.html.haml index a974a3357f..de0260fdf7 100644 --- a/app/views/admin/licenses/show.html.haml +++ b/app/views/admin/licenses/show.html.haml @@ -55,7 +55,7 @@ #{restricted} users - - if historical && historical > restricted + - if historical && historical > restricted && current < restricted %span.label.label-danger.pull-right.prepend-left-10 %strong Maximum during license life: #{historical} users