Merge lp://staging/~jcsackett/launchpad/unlink-321675 into lp://staging/launchpad

Proposed by j.c.sackett
Status: Merged
Approved by: j.c.sackett
Approved revision: no longer in the source branch.
Merged at revision: 12136
Proposed branch: lp://staging/~jcsackett/launchpad/unlink-321675
Merge into: lp://staging/launchpad
Diff against target: 38 lines (+4/-4)
2 files modified
lib/lp/bugs/browser/bugbranch.py (+3/-3)
lib/lp/bugs/stories/bugs/xx-link-bug-to-branch.txt (+1/-1)
To merge this branch: bzr merge lp://staging/~jcsackett/launchpad/unlink-321675
Reviewer Review Type Date Requested Status
Brad Crittenden (community) code Approve
Review via email: mp+44388@code.staging.launchpad.net

Commit message

[r=bac][ui=none][bug=321675] Changes the 'Delete' button when unlinking a bug and a branch to "Remove link"

Description of the change

Summary
=======

When a bug is unlinked from a branch, the button to confirm the action is "Delete." This is both confusing and scary for a user, because it's not clear if you're deleting the branch or deleting the link. A first step in fixing this ui is to rename the button to Remove link, which matches the language used in the page.

Implementation
==============

lib/lp/bugs/browser/bugbranch.py
--------------------------------
Update the action name to "Remove link" instead of "Delete"

There are also some drive by lint fixes; changes to wrap length and line spacing.

lib/lp/bugs/stories/bugs/xx-link-bug-to-branch.txt
--------------------------------------------------
Updated to match the new action name.

QA
==

1) Create a link between a bug and a branch on launchpad.dev
2) Remove the link from the bug's page
3) The button should say Remove link, not Delete. Clicking it should remove the link

Lint
====

To post a comment you must log in.
Revision history for this message
Brad Crittenden (bac) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.