~ubuntu-branches/ubuntu/quantal/horizon/quantal

« back to all changes in this revision

Viewing changes to .pc/add_juju_settings_panel.patch/horizon/dashboards/settings/dashboard.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-07-06 11:38:55 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20120706113855-js8fsldgtool47yj
Tags: 2012.2~f2-0ubuntu1
New usptream version. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# vim: tabstop=4 shiftwidth=4 softtabstop=4
2
 
 
3
 
# Copyright 2012 Openstack, LLC
4
 
# Copyright 2012 Nebula, Inc.
5
 
#
6
 
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
7
 
#    not use this file except in compliance with the License. You may obtain
8
 
#    a copy of the License at
9
 
#
10
 
#         http://www.apache.org/licenses/LICENSE-2.0
11
 
#
12
 
#    Unless required by applicable law or agreed to in writing, software
13
 
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
 
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
 
#    License for the specific language governing permissions and limitations
16
 
#    under the License.
17
 
 
18
 
from django.utils.translation import ugettext_lazy as _
19
 
 
20
 
import horizon
21
 
 
22
 
 
23
 
class Settings(horizon.Dashboard):
24
 
    name = _("Settings")
25
 
    slug = "settings"
26
 
    panels = ('user', 'project', 'ec2')
27
 
    default_panel = 'user'
28
 
    nav = False
29
 
 
30
 
 
31
 
horizon.register(Settings)