On the The install new theme form (/admin/theme/install) the cancel link is styled as a link when it should be styled as a primary button

There are three types of buttons supported in core and in the Seven style guide. Standard, primary, and danger.
It's important that the correct button types are used consistently throughout Drupal

Remaining tasks

Add the primary #button_type class to that form item, so it receives the correct class.

Beta phase evaluation

Issue category Bug because usability standards
Issue priority Not critical because minor usability defect
Unfrozen changes Unfrozen because it only changes markup
Prioritized changes The main goal of this issue is usability
#3 2469917-theme-install-primary-button-3.png134.59 KBckrina
#1 theme-install-primary-button-2469917-1.patch574 bytestadityar
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 91,417 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


tadityar’s picture

Status: Active » Needs review
574 bytes
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 91,417 pass(es). View
Cauliflower’s picture

Patch applied and works as expected.

ckrina’s picture

Status: Needs review » Reviewed & tested by the community
134.59 KB

The patch applies fine and looks ok. Here's an screenshot:

Primary button in theme install page

LewisNyman’s picture

Issue summary: View changes
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 2d53e2a and pushed to 8.0.x. Thanks!

  • alexpott committed 2d53e2a on 8.0.x
    Issue #2469917 by tadityar: The install new theme page doesn't have a...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.