There was a BZ filed for some scoreboard values always showing 0. This wasn't a bug as
much as the fact that the code to display the values hadn't been implemented. For the
0.3.0 release, I removed those components. Going forward, it was suggested that displaying
"N/A" might call more attention to the fact that the values are placeholder
text. Of course as we go forward we'll want to actually implement these, but for now,
let's stop showing misleading and incorrect information.
This series also includes a fix for a typo in en.yml.
Show replies by date
---
src/app/views/pools/_scoreboard_index.haml | 8 ++++----
src/app/views/pools/_scoreboard_show.haml | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/app/views/pools/_scoreboard_index.haml
b/src/app/views/pools/_scoreboard_index.haml
index 57578d9..99a7240 100644
--- a/src/app/views/pools/_scoreboard_index.haml
+++ b/src/app/views/pools/_scoreboard_index.haml
@@ -20,11 +20,11 @@
%dd.count.alert= @statistics[:instances_failed]
%li
%dt= t("updates")
- %dd.count.update 0
+ %dd.count.update N/A
%li
%dt= t("pools.index.quota_used")
- %dd.percentage.quota 0%
+ %dd.percentage.quota N/A%
%dd.fraction.instance
- %span.part 0
+ %span.part N/A
%span.divider.label.small.caps of
- %span.total 0
+ %span.total N/A
diff --git a/src/app/views/pools/_scoreboard_show.haml
b/src/app/views/pools/_scoreboard_show.haml
index eb9ec11..8a871c5 100644
--- a/src/app/views/pools/_scoreboard_show.haml
+++ b/src/app/views/pools/_scoreboard_show.haml
@@ -16,10 +16,10 @@
%ul.subgroup
%li
%dt Alerts
- %dd.count.alert 0
+ %dd.count.alert N/A
%li
%dt Updates
- %dd.count.update 0
+ %dd.count.update N/A
%li
%dt Quota Used
%dd.percentage.quota
--
1.7.4.4
---
src/config/locales/en.yml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
index 8e9b61e..cee8d64 100644
--- a/src/config/locales/en.yml
+++ b/src/config/locales/en.yml
@@ -76,7 +76,7 @@ en:
resource_management: Resource Management
overview: Overview
alerts: Alerts
- updates: Udates
+ updates: Updates
deployments:
deployments: Deployments
deployment: Deployment
--
1.7.4.4