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

Remove Purpose addons from airgun code #1648

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions airgun/views/contenthost.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
ConfirmationDialog,
EditableEntry,
EditableEntryCheckbox,
EditableEntryMultiCheckbox,
EditableEntrySelect,
Pagination,
ReadOnlyEntry,
Expand Down Expand Up @@ -147,7 +146,6 @@ class details(SatTab):
service_level = EditableEntrySelect(name='Service Level (SLA)')
usage_type = EditableEntrySelect(name='Usage Type')
role = EditableEntrySelect(name='Role')
addons = EditableEntryMultiCheckbox(name='Add ons')
# Content Host Properties
os = ReadOnlyEntry(
locator=".//dt[.='OS']/following-sibling::dd[not(contains(@class, 'ng-hide'))]"
Expand Down
2 changes: 0 additions & 2 deletions airgun/views/host_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
ExpandableTable,
FormSelect as OUIAFormSelect,
PatternflyTable,
Select as OUIASelect,
)

from airgun.views.common import BaseLoggedInView
Expand Down Expand Up @@ -772,7 +771,6 @@ class EditSystemPurposeView(View):
sla = OUIAFormSelect('service-level-select')
usage = OUIAFormSelect('usage-select')
release_version = OUIAFormSelect('release-version-select')
add_ons = OUIASelect('syspurpose-addons-select')

save = OUIAButton('save-syspurpose')
cancel = OUIAButton('cancel-syspurpose')
Expand Down
2 changes: 1 addition & 1 deletion airgun/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@ def fill(self, values):
"""Check or uncheck one of the checkboxes

:param value: string with specification of fields' values
Example: value={'details.addons': {'Test addon 1': True, 'Test addon 2': False}}
Example: value={'details.role': {'Test role 1': True, 'Test role 2': False}}
"""
for name, value in values.items():
self.checkboxes[name].fill(value)
Expand Down