Skip to content
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

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

lfu
Copy link
Member

@lfu lfu commented May 1, 2023

What are the changes introduced in this pull request?

Display host's FQDN or short name based on setting display_fqdn_for_hosts in Content 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 setting display_fqdn_for_hosts

@theforeman-bot
Copy link

Issues: #36328

@lfu
Copy link
Member Author

lfu commented Nov 7, 2023

[test katello]

Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

image

ACK 👍

@lfu lfu merged commit a02cd42 into Katello:master Nov 8, 2023
4 of 5 checks passed
@lfu lfu deleted the append_domain_name_36328 branch November 16, 2023 22:55
Comment on lines +56 to +57
<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>
Copy link
Contributor

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}}?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct!

Comment on lines +42 to +44
<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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lfu Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants