Project

General

Profile

Actions

Bug #14529

closed

Disabled buttons in drop down menu do not render as disabled

Added by Lukas Zapletal almost 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Normal
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It's because twitter only accepts "disabled" class on <li> items and we set it on <a> tags. We could refactor our select_action_button code but since tags are self-contained in Rails and we pass array of elements already htmlized, it's easier to do this via CSS:

.dropdown-menu > li > a.disabled {
  color:#aaa !important;
}

Related issues 1 (0 open1 closed)

Related to Discovery - Bug #14527: Edit buttons should not be visible to discovery_reader roleClosedLukas Zapletal04/07/2016Actions
Actions #1

Updated by Lukas Zapletal almost 8 years ago

  • Related to Bug #14527: Edit buttons should not be visible to discovery_reader role added
Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/3403 added
Actions #3

Updated by Dominic Cleal almost 8 years ago

  • Status changed from Ready For Testing to Rejected

PR was closed, perhaps not a bug.

Actions

Also available in: Atom PDF