~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-04 23:59:50 UTC
  • mfrom: (14621.1.4 xss_911632)
  • Revision ID: launchpad@pqm.canonical.com-20120104235950-13dqftqbpu1zxcdh
[r=abentley][bug=911632] Fix template to escape output of no branch
        message.

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-2011 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
"""Translations browser views for distributions."""
13
13
 
14
14
import operator
15
15
 
16
 
from lp.app.browser.launchpadform import (
17
 
    action,
18
 
    LaunchpadEditFormView,
19
 
    )
20
16
from lp.app.enums import service_uses_launchpad
21
17
from lp.registry.browser import RegistryEditFormView
22
18
from lp.registry.interfaces.distribution import IDistribution
23
19
from lp.registry.interfaces.series import SeriesStatus
24
20
from lp.services.propertycache import cachedproperty
25
21
from lp.services.webapp import (
 
22
    action,
26
23
    canonical_url,
27
24
    enabled_with_permission,
 
25
    LaunchpadEditFormView,
 
26
    LaunchpadView,
28
27
    Link,
29
28
    )
30
29
from lp.services.webapp.authorization import check_permission
31
30
from lp.services.webapp.menu import NavigationMenu
32
 
from lp.services.webapp.publisher import LaunchpadView
33
31
from lp.translations.browser.translations import TranslationsMixin
34
32
 
35
33