Files
freezer-web-ui/freezer_ui/sessions/panel.py
Dmitriy Rabotyagov 50b6486df9 Rename python package to freezer_ui
While current package name "disaster_recovery" is a valid slug inside
of the Horizon, when it comes to the Python package naming, it is
not conforming with Horizon Dashboard naming pattern, where
all existing dashboard packages end their names on `dashboard` or `ui`.

Current naming might break Horizon installation logic by some
common deployment tools, like OpenStack-Ansible.

To prevent that we rename the package given the opportunity, that
project is currently in Inactive state and major changes can be made to
it.

Change-Id: I965b545b6aada866ab5c6eb2279154b70bc5dff1
2024-12-09 10:54:11 +01:00

29 lines
849 B
Python

# (c) Copyright 2014,2015 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from django.utils.translation import gettext_lazy as _
import horizon
from freezer_ui import dashboard
class SessionsPanel(horizon.Panel):
name = _("Sessions")
slug = "sessions"
dashboard.Freezer.register(SessionsPanel)