Merge lp:~nigelbabu/launchpad/patch-edit-684548 into lp:launchpad
Proposed by
Nigel Babu
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Данило Шеган | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 13851 | ||||
Proposed branch: | lp:~nigelbabu/launchpad/patch-edit-684548 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
53 lines (+13/-4) 2 files modified
lib/lp/bugs/stories/bugattachments/xx-attachments-to-bug-report.txt (+11/-4) lib/lp/bugs/templates/bugcomment-box.pt (+2/-0) |
||||
To merge this branch: | bzr merge lp:~nigelbabu/launchpad/patch-edit-684548 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Данило Шеган (community) | Approve | ||
Review via email: mp+73514@code.launchpad.net |
Commit message
[r=danilo][bug=684548] Adding an edit button in the inline comments for attachments
Description of the change
= Description =
The 'edit' URL for most attachments is hard to find since its only next to the patch link in the right portlet. This fix will ensure that URL shows up in the bug comment as well.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
To post a comment you must log in.
As discussed on IRC, the test lib/lp/ bugs/stories/ bugattachments/ xx-attachments- to-bug- report. txt would need fixing, and you should at least extend it to provide a check for the contents of the link. (You already talked with a few people about starting a unit test, but came up empty: it'd still be desireable to do that, but I won't block on it for such a tiny change like this)
Also, I believe parentheses next to each other in eg. "attachment.tar (edit) (17 bytes...)" look very bad. You should use CSS classes "sprite edit" for the edit link (with most likely no text at all: but I suggest you try out a few different options and see how it works out).