Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionAndrew Schofield
2015-08-19 21:06:16 UTC
Description of problem:
Capsule descriptions in the web UI do not resize to the width of the cell (So if your description for the capusule goes over 32 chars then this is only visible on the rollover).
Version-Release number of selected component (if applicable):
6.1.1 GA
How reproducible:
N/A - web layout
Steps to Reproduce:
This is generated by /usr/share/foreman/app/views/smart_proxies/index.html.erb at line 17:
<td><%= link_to_if_authorized trunc(proxy.name), hash_for_edit_smart_proxy_path(:id => proxy).merge(:auth_object => proxy, :authorizer => authorizer) %></td>
And the trunc method (from : /usr/share/foreman/app/helpers/layout_helper.rb) says this:
def trunc(text, length = 32)
text = text.to_s
options = text.size > length ? { :'data-original-title' => text, :rel => 'twipsy' } : {}
content_tag(:span, truncate(text, :length => length), options).html_safe
end
Actual results:
Description text is trucated to 32 chars
Expected results:
Text should match the column width
Additional info:
Based on the comment in the upstream redmine, this has already been addressed. Moving the bug to POST, since it should be included with the next rebase.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2016:1500
Description of problem: Capsule descriptions in the web UI do not resize to the width of the cell (So if your description for the capusule goes over 32 chars then this is only visible on the rollover). Version-Release number of selected component (if applicable): 6.1.1 GA How reproducible: N/A - web layout Steps to Reproduce: This is generated by /usr/share/foreman/app/views/smart_proxies/index.html.erb at line 17: <td><%= link_to_if_authorized trunc(proxy.name), hash_for_edit_smart_proxy_path(:id => proxy).merge(:auth_object => proxy, :authorizer => authorizer) %></td> And the trunc method (from : /usr/share/foreman/app/helpers/layout_helper.rb) says this: def trunc(text, length = 32) text = text.to_s options = text.size > length ? { :'data-original-title' => text, :rel => 'twipsy' } : {} content_tag(:span, truncate(text, :length => length), options).html_safe end Actual results: Description text is trucated to 32 chars Expected results: Text should match the column width Additional info: