← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1269653] [NEW] Create action button does not display the "+" icon

 

Public bug reported:


If the Create table actions is created using tables.Action like:

class CreateEndpoint(tables.Action):
    name = "create_endpoint"
    verbose_name = _("Create Endpoint")
    requires_input = False
    classes = ("show-spinner", "btn-create", )

The "+" icon does not show up.

If the class tables.LinkAction is used, it works fine.

The problem is in the horizon.less:

 a.btn-create, a.btn-launch {
      .btn-icon(-403px, -92px);
    }

It only works <a>, but not <button> which is rendered when tables.Action
is used.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1269653

Title:
  Create action button does not display the "+" icon

Status in OpenStack Dashboard (Horizon):
  New

Bug description:

  If the Create table actions is created using tables.Action like:

  class CreateEndpoint(tables.Action):
      name = "create_endpoint"
      verbose_name = _("Create Endpoint")
      requires_input = False
      classes = ("show-spinner", "btn-create", )

  The "+" icon does not show up.

  If the class tables.LinkAction is used, it works fine.

  The problem is in the horizon.less:

   a.btn-create, a.btn-launch {
        .btn-icon(-403px, -92px);
      }

  It only works <a>, but not <button> which is rendered when
  tables.Action is used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1269653/+subscriptions


Follow ups

References