Project

General

Profile

Feature #35416

Add a disabled option to the dropdown menu items on foreman

Added by Nofar Alfassi 3 months ago. Updated 21 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development tools
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

We want to have an option to add a `disabled` property to links in dropdown menus.
This should work if we add `class: 'disabled'` to the `li` tag element.
However, the way to do it is to change somehow the `action_buttons` method, which is used widely in Foreman (maybe by passing a new argument).
Maybe there is another way this could be done, but I can't think of something better right now.


Related issues

Related to Ansible - Feature #28374: Hostgroup dropdown - disable/remove run ansible roles option if no roles are assignedClosed

Associated revisions

Revision 6c9227a3 (diff)
Added by Nofar Alfassi 2 months ago

Fixes #35416 - adding a disabled option to links in the dropdown menus

History

#1 Updated by Nofar Alfassi 3 months ago

  • Related to Feature #28374: Hostgroup dropdown - disable/remove run ansible roles option if no roles are assigned added

#2 Updated by Nofar Alfassi 3 months ago

  • Description updated (diff)

#3 Updated by Nofar Alfassi 3 months ago

  • Description updated (diff)

#4 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9367 added

#5 Updated by The Foreman Bot 2 months ago

  • Fixed in Releases 3.5.0 added

#6 Updated by Nofar Alfassi 2 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Ewoud Kohl van Wijngaarden 21 days ago

  • Triaged changed from No to Yes
  • Category set to Development tools

Also available in: Atom PDF