-
Notifications
You must be signed in to change notification settings - Fork 357
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
Add button classes #2371
Add button classes #2371
Conversation
321bd65
to
a9789b3
Compare
@miq-bot add_label fine/no |
@miq-bot remove_label pending core |
This pull request is not mergeable. Please rebase and repush. |
@@ -13,6 +13,8 @@ def custom_toolbar_explorer | |||
Mixins::CustomButtons::Result.new(:single) | |||
elsif @lastaction == "show_list" | |||
Mixins::CustomButtons::Result.new(:list) | |||
elsif x_tree[:tree] == :rbac_tree | |||
@lastaction == "show_list" ? Mixins::CustomButtons::Result.new(:list) : Mixins::CustomButtons::Result.new(:single) |
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.
this is just Mixins::CustomButtons::Result.new(:single)
(the show_list branch will never happen because it will match on line 14)
caafa36
to
891c23e
Compare
891c23e
to
e942171
Compare
e942171
to
c924fff
Compare
@miq-bot add_label gaprindashvili/yes |
Checked commits ZitaNemeckova/manageiq-ui-classic@525fda8~...c924fff with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0 config/routes.rb
|
@miq-bot remove_label wip |
@mzazrivec please have a look. Issues with dialog will be resolved in separate PR. Thanks :) |
@miq-bot add_label bug |
Add button classes (cherry picked from commit 0697177)
Gaprindashvili backport details:
|
Adding custom buttons to Container Node, Group, Tenant and User.
Create custom button without dialog:
Automation -> Automate -> Customization -> Buttons -> create a custom button without a dialog
Created buttons should show at:
Compute -> Containers -> Container Nodes
Configuration (right upper corner) -> Access Control -> Users/Groups/Tenants
https://www.pivotaltracker.com/story/show/147778977
Backend PR: ManageIQ/manageiq#16181 MERGED
After:
@miq-bot add_label wip, enhancement, euwe/no, automation/automate, pending core
https://bugzilla.redhat.com/show_bug.cgi?id=1508770
Issue with button that has a dialog will be solved in separate PR #2593.