summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/project/stacks/resource_types/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/project/stacks/resource_types/tabs.py')
-rw-r--r--openstack_dashboard/dashboards/project/stacks/resource_types/tabs.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/openstack_dashboard/dashboards/project/stacks/resource_types/tabs.py b/openstack_dashboard/dashboards/project/stacks/resource_types/tabs.py
deleted file mode 100644
index b0d5467..0000000
--- a/openstack_dashboard/dashboards/project/stacks/resource_types/tabs.py
+++ /dev/null
@@ -1,32 +0,0 @@
1# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10# implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14from django.utils.translation import ugettext_lazy as _
15
16from horizon import tabs
17
18
19class ResourceTypeOverviewTab(tabs.Tab):
20 name = _("Overview")
21 slug = "resource_type_overview"
22 template_name = "project/stacks.resource_types/_details.html"
23
24 def get_context_data(self, request):
25 return {"r_type": self.tab_group.kwargs['rt'],
26 "r_type_attributes": self.tab_group.kwargs['rt_attributes'],
27 "r_type_properties": self.tab_group.kwargs['rt_properties']}
28
29
30class ResourceTypeDetailsTabs(tabs.TabGroup):
31 slug = "resource_type_details"
32 tabs = (ResourceTypeOverviewTab,)