mozilla/treeherder-ui — pull request #249 by KWierso (2014-10-25 02:00:26+00:00)
Title: Bug 1075473 - Hide the cancel all button for all repos that don't have 'try' in the repo name

I've clicked the cancel all jobs on this push button far too many times while trying to get to the mc-merge or self-serve buttons in the menu to the left of it.

Bug 1074858 suggested to make it prompt or something, and bug 1075473 suggests to let is_staff users still click "cancel all" for all repos, but there's been no activity in those bugs to do anything to make accidental clicks less destructive.

Until that happens, lets just hide the cancel all buttons on non-try repos to save us all from ourselves?