-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #36328 - display short host name in Content Hosts page #10538
Conversation
Issues: #36328 |
9732437
to
3ad03a4
Compare
3ad03a4
to
30555a4
Compare
[test katello] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div data-block="modal-header" translate>Apply Errata to Content Host "{{host.displayname}}"?</div> | ||
<div data-block="modal-body" translate>Are you sure you want to apply Errata to content host "{{ host.displayname }}"?</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lfu Do you think this should be {{host.display_name}}?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are correct!
<div data-block="modal-header" translate>Restart Services on Content Host "{{host.displayname}}"?</div> | ||
<div data-block="modal-body"> | ||
<span translate>Are you sure you want to restart services on content host "{{ host.name }}"?</span> | ||
<span translate>Are you sure you want to restart services on content host "{{ host.displayname }}"?</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lfu Same here
What are the changes introduced in this pull request?
Display host's FQDN or short name based on setting
display_fqdn_for_hosts
inContent Hosts
page.Considerations taken when implementing this change?
Depends on theforeman/foreman#9613
What are the testing steps for this pull request?
Make sure theforeman/foreman#9613 is available in your testing environment.
Verify the host name displayed in
Content Hosts
page is based on settingdisplay_fqdn_for_hosts