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

feat(xo-web): add pool name to templates #3896

Merged
merged 3 commits into from
Jan 23, 2019

Conversation

Rajaa-BARHTAOUI
Copy link
Contributor

@Rajaa-BARHTAOUI Rajaa-BARHTAOUI commented Jan 23, 2019

fixes #3894

Check list

Check items when done or if not relevant

  • PR reference the relevant issue (e.g. Fixes #007)
  • if UI changes, a screenshot has been added to the PR
  • CHANGELOG:
    • enhancement/bug fix entry added
    • list of packages to release updated (${name} v${new version})
  • documentation updated
  • I have tested added/updated features (and impacted code)

Process

  1. create a PR as soon as possible
  2. mark it as WiP: (Work in Progress) if not ready to be merged
  3. when you want a review, add a reviewer
  4. if necessary, update your PR, and re- add a reviewer

Screenshots

capture du 2019-01-23 11-35-05

if (template === undefined) {
return unknowItem(id, 'template')
}

return (
<span>
<Icon icon='vm' /> {template.name_label}
{!self && pool !== undefined && (
<span className={'text-muted'}>{` - ${pool.name_label}`}</span>
Copy link
Member

Choose a reason for hiding this comment

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

className='text-muted'

if (template === undefined) {
return unknowItem(id, 'template')
}

return (
<span>
<Icon icon='vm' /> {template.name_label}
{!self && pool !== undefined && (
Copy link
Member

Choose a reason for hiding this comment

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

You don't need the !self condition as pool will be undefined for self users anyway.

CHANGELOG.md Outdated
@@ -8,6 +8,7 @@
- [Plugins] New field to filter displayed plugins (PR [#3832](https://github.com/vatesfr/xen-orchestra/pull/3871))
- Ability to copy ID of "unknown item"s [#3833](https://github.com/vatesfr/xen-orchestra/issues/3833) (PR [#3856](https://github.com/vatesfr/xen-orchestra/pull/3856))
- [Cloud-Init] switch config drive type to `nocloud` to prepare for the passing of network config (PR [#3877](https://github.com/vatesfr/xen-orchestra/pull/3877))
- Add pool name to templates [#3894](https://github.com/vatesfr/xen-orchestra/issues/3894) (PR [#3896](https://github.com/vatesfr/xen-orchestra/pull/3896))
Copy link
Member

Choose a reason for hiding this comment

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

Reading this without having worked on it would probably be confusing.

"[UI] Show pool name next to templates' names"

@pdonias pdonias merged commit b246e84 into vatesfr:master Jan 23, 2019
@pdonias pdonias removed their request for review January 23, 2019 15:58
@julien-f julien-f removed the request for review from pdonias January 23, 2019 15:58
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.

Add pool name to templates
2 participants