Project

General

Profile

Actions

Feature #35416

closed

Add a disabled option to the dropdown menu items on foreman

Added by Nofar Alfassi over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development tools
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 2 (0 open2 closed)

Related to Ansible - Feature #28374: Hostgroup dropdown - disable/remove run ansible roles option if no roles are assignedClosedNofar AlfassiActions
Related to Foreman - Bug #36703: 500 error when loading Hostgroups page for Ansible Roles Manager userClosedNofar AlfassiActions
Actions #1

Updated by Nofar Alfassi over 1 year ago

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

Updated by Nofar Alfassi over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Nofar Alfassi over 1 year ago

  • Description updated (diff)
Actions #4

Updated by The Foreman Bot over 1 year ago

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

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 3.5.0 added
Actions #6

Updated by Nofar Alfassi over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Category set to Development tools
  • Triaged changed from No to Yes
Actions #8

Updated by Nofar Alfassi 6 months ago

  • Related to Bug #36703: 500 error when loading Hostgroups page for Ansible Roles Manager user added
Actions

Also available in: Atom PDF