Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Dominic Cleal
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2013-09-18 18:45:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
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.