Merge lp:~thumper/launchpad/kill-bad-form-preloads into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11770 |
Proposed branch: | lp:~thumper/launchpad/kill-bad-form-preloads |
Merge into: | lp:launchpad |
Diff against target: |
60 lines (+17/-10) 3 files modified
lib/lp/code/templates/branch-index.pt (+11/-8) lib/lp/code/templates/branch-information.pt (+1/-1) lib/lp/code/templates/branch-related-bugs-specs.pt (+5/-1) |
To merge this branch: | bzr merge lp:~thumper/launchpad/kill-bad-form-preloads |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | code js | Approve | |
Review via email: mp+38800@code.launchpad.net |
Commit message
Only load the link bug and subscription ++form++ when the user is logged in.
Description of the change
Several simple changes to stop lots of 404s.
Only do the javascript binding and loading of the forms if the user is logged in.
Windmill tests should be sufficient.
To post a comment you must log in.
I think this is an improvement for now, but wouldn't it be nice to
have a login triggered if someone tries something, rather than having
the form appear less complete? (Perhaps I misunderstand what happens).