Project

General

Profile

Actions

Bug #5135

closed

[Workbench] Ensure modal button order is consistent

Added by Brett Smith about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench
Target version:
Story points:
0.5

Description

These modals have the primary button first from the right:

  • application/_choose.html.erb
  • application/_report_issue_popup.html.erb
  • projects/_choose.html.erb

These modals have the primary button first from the left:

  • jobs/_rerun_job_with_options_popup.html.erb
  • pipeline_instances/show.html.erb (two primary buttons)
  • users/_add_ssh_key_popup.html.erb
  • users/_setup_popup.html.erb
Pick which direction we prefer and make all modals follow it.
  • We prefer to do it like the Bootstrap examples: primary button(s) on the right.
  • I think it's OK to have multiple primary buttons per modal. (This might be friendlier as a single "Copy" button, with a default-unchecked checkbox "run the new pipeline right away". If you forget to check the box, you can hit Run on the next page, so no biggie. But this change doesn't seem especially urgent.)
Actions

Also available in: Atom PDF