Quotas: "inf" is unfriendly and not translatable

Bug #1250945 reported by Julie Pichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Zhenguo Niu

Bug Description

At the moment, we often send float("inf") directly back to the UI when handling unlimited quotas, e.g. on the graphs in the Overview page. We should aim to transform this into a friendlier string, both in English (for example by using "Unlimited" like we do on some of the bar charts, like in the Launch instance screen), and in order to make them translatable.

Tags: i18n
Changed in horizon:
status: New → Confirmed
assignee: nobody → Zhenguo Niu (niu-zglinux)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/56348

Changed in horizon:
status: Confirmed → In Progress
Akihiro Motoki (amotoki)
Changed in horizon:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/56348
Committed: http://github.com/openstack/horizon/commit/60f5cba0ef1701dc5d315fb74d54df761aecaf4b
Submitter: Jenkins
Branch: master

commit 60f5cba0ef1701dc5d315fb74d54df761aecaf4b
Author: Zhenguo Niu <email address hidden>
Date: Thu Nov 14 17:15:31 2013 +0800

    Transform Quotas 'inf' to 'No Limit'

    We should transform 'inf' into a friendlier string, and make them translatable.

    Change-Id: Ib5d0b01a44d6e33b64fdfbcf19372a5a73e60528
    Fixes: bug #1250945

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.