Bug 961595 - Foreman UI does not properly pluralize when more than one organization exists.
Summary: Foreman UI does not properly pluralize when more than one organization exists.
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: Nightly
Hardware: Unspecified
OS: Unspecified
Target Milestone: Unspecified
Assignee: Dominic Cleal
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Depends On:
TreeView+ depends on / blocked
Reported: 2013-05-10 03:10 UTC by Corey Welton
Modified: 2019-09-26 13:40 UTC (History)
3 users (show)

Fixed In Version: foreman-1.1.10004-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-09-18 18:45:18 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 2495 0 None None None 2016-04-22 16:13:17 UTC

Description Corey Welton 2013-05-10 03:10:24 UTC
Description of problem:
If more than one org exists, and user goes to org view in foreman, the counter on the org view reads incorrectly.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.  Create a new org in katello, "Second_Org"
2.  Navigate to Org view in /foreman
3.  View summary box below the org list
Actual results:

Displaying all 2 Organization

Expected results:

Displaying all 2 Organization(s)

Additional info:

Comment 1 Dominic Cleal 2013-05-13 07:49:34 UTC
This is a recurring problem in the UI, as will_paginate (the library that provides pagination) isn't integrated into the i18n framework Foreman's using.  There are a few similar places where the noun is hardcoded in Foreman and passed into will_paginate.

Comment 2 Bryan Kearney 2013-06-04 19:58:39 UTC
http://projects.theforeman.org/issues/2495 sappears to be closed. moving to 6.0.1

Comment 3 Dominic Cleal 2013-06-04 20:03:31 UTC
Fixed upstream in:

1.2-stable: ce81cfdad1bcbb136a90cb16380068c6be631c0a
develop: 1bf7cc358e00092d2cee38cc83cb753ed31ffa89

Comment 4 Dominic Cleal 2013-09-17 20:41:28 UTC
Actually made it into MDP1 via b80e776a74b2b4afa4ec3af131f59df245b77402.

Note You need to log in before you can comment on or make changes to this bug.