Skip to content

Commit

Permalink
Merge pull request #613 from cbdevnet/develop
Browse files Browse the repository at this point in the history
Change wording for status update notifications
  • Loading branch information
maethor committed May 2, 2018
2 parents 0d6aef6 + 2901847 commit 5691b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/plugins/dashboard/views/dashboard.tpl
Expand Up @@ -139,7 +139,7 @@
if (dashboard_logs) console.debug(message);
}
if (hosts_problems < old_hosts_problems) {
var message = (old_hosts_problems - hosts_problems) + " less " + ((old_hosts_problems - hosts_problems)==1 ? "hosts problem" : "hosts problems")
var message = (old_hosts_problems - hosts_problems) + " fewer " + ((old_hosts_problems - hosts_problems)==1 ? "hosts problem" : "hosts problems")
%if refresh:
message += " since last " + app_refresh_period + " seconds."
%else:
Expand All @@ -160,7 +160,7 @@
if (dashboard_logs) console.debug(message);
}
if (services_problems < old_services_problems) {
var message = (old_services_problems - services_problems) + " less " + ((old_services_problems - services_problems)==1 ? "services problem" : "services problems")
var message = (old_services_problems - services_problems) + " fewer " + ((old_services_problems - services_problems)==1 ? "services problem" : "services problems")
%if refresh:
message += " since last " + app_refresh_period + " seconds."
%else:
Expand Down

0 comments on commit 5691b34

Please sign in to comment.