~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/browser/project.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-05 01:16:46 UTC
  • mfrom: (14628.1.2 js-client-link)
  • Revision ID: launchpad@pqm.canonical.com-20120105011646-dlhd7oqm9pui6yk1
[r=benji][bug=911973] Set lp_original_uri properly for objects
        returned by named_get and named_post that have a self_link.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2012 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""ProjectGroup-related View Classes"""
11
11
    'ProjectView',
12
12
    ]
13
13
 
14
 
from lp.app.browser.launchpadform import (
15
 
    action,
16
 
    )
17
14
from lp.registry.browser.project import ProjectEditView
18
15
from lp.registry.interfaces.projectgroup import IProjectGroup
 
16
from lp.services.propertycache import cachedproperty
19
17
from lp.services.webapp import (
 
18
    action,
20
19
    canonical_url,
21
20
    enabled_with_permission,
 
21
    LaunchpadView,
22
22
    Link,
23
23
    )
24
24
from lp.services.webapp.menu import NavigationMenu
25
 
from lp.services.webapp.publisher import LaunchpadView
26
25
from lp.translations.browser.translations import TranslationsMixin
27
26
 
28
27