← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
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):
  Fix Released

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


References