~ubuntu-branches/ubuntu/saucy/horizon/saucy-updates

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/firewalls/panel.py

  • Committer: Package Import Robot
  • Author(s): James Page, James Page, Chuck Short
  • Date: 2013-10-03 13:48:12 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20131003134812-2vkwosem4flwuk5y
Tags: 1:2013.2~rc1-0ubuntu1
[ James Page ]
* New upstream release candidate:
  - d/static: Refreshed static assets for 2013.2~rc1.
  - d/patches: Refreshed patches.

[ Chuck Short ]
* debian/control: Add python-lesscpy as a suggests to optionally
  support online compression of static assets (LP: #1226674).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.conf import settings  # noqa
 
2
from django.utils.translation import ugettext_lazy as _  # noqa
 
3
 
 
4
import horizon
 
5
 
 
6
from openstack_dashboard.dashboards.project import dashboard
 
7
 
 
8
 
 
9
class Firewall(horizon.Panel):
 
10
    name = _("Firewalls")
 
11
    slug = "firewalls"
 
12
    permissions = ('openstack.services.network',)
 
13
 
 
14
 
 
15
if getattr(settings,
 
16
           'OPENSTACK_NEUTRON_NETWORK',
 
17
           {}).get('enable_firewall', False):
 
18
    dashboard.Project.register(Firewall)