← Back to team overview

mahara-contributors team mailing list archive

[Bug 1899120] Re: Incorrect button classes on submitcancel buttons 20.04

 

** Changed in: mahara/20.10
       Status: In Progress => Fix Committed

** Changed in: mahara/20.04
       Status: New => Fix Committed

** Changed in: mahara/20.04
    Milestone: None => 20.04.2

** Changed in: mahara/20.04
   Importance: Undecided => Medium

** Changed in: mahara/20.10
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1899120

Title:
  Incorrect button classes on submitcancel buttons 20.04

Status in Mahara:
  Fix Committed
Status in Mahara 20.04 series:
  Fix Committed
Status in Mahara 20.10 series:
  Fix Committed

Bug description:
  Related to: https://bugs.launchpad.net/mahara/+bug/1898955

  While testing the above fix I looked for "submitcancel" in .tpl files
  to see whether there were other cases with "btn-primary" and without
  "btn" class. I found the following:

  /htdocs/theme/raw/plugintype/artefact/file/templates/form/editfile.tpl
  /htdocs/theme/raw/plugintype/module/framework/templates/jsoneditor.tpl
  /htdocs/theme/raw/plugintype/module/multirecipientnotification/templates/indexsearch.tpl
  /htdocs/theme/raw/templates/privacy_modal.tpl

  I confirmed the first three do display incorrect styling for the submitcancel button group.
  Screenshots below.

  Limitations
  Note: This affects 20.04, but not 20.10+
  Only buttons using the "submitcancel" class have been searched for. It is possible there are other similar issues with other button classes.

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


References