diff --git a/hc/front/views.py b/hc/front/views.py index 27204d11..727fcb07 100644 --- a/hc/front/views.py +++ b/hc/front/views.py @@ -71,7 +71,7 @@ def my_checks(request): "tags": pairs, "ping_endpoint": settings.PING_ENDPOINT, "timezones": all_timezones, - "can_add_more": len(checks) < request.team.check_limit, + "num_available": request.team.check_limit - len(checks), "sort": request.profile.sort } diff --git a/static/css/my_checks.css b/static/css/my_checks.css index 06795d9a..1f93bd5e 100644 --- a/static/css/my_checks.css +++ b/static/css/my_checks.css @@ -163,3 +163,9 @@ border-top: 1px solid #ddd; } +.add-check-note { + color: #888; + text-align: center; + margin-top: 10px; + font-size: 12px; +} \ No newline at end of file diff --git a/templates/front/my_checks.html b/templates/front/my_checks.html index 14488950..02e8d11d 100644 --- a/templates/front/my_checks.html +++ b/templates/front/my_checks.html @@ -36,11 +36,16 @@