Ask Your Question

How to modify panel name on Openstack?

asked 2013-06-13 07:16:03 -0500

Ph4nToM gravatar image

updated 2013-06-13 10:13:19 -0500

Hello, I try to modify the name "Instances" to "Virtual Machines" in the web page of Openstack. image description

I'm little lost in directories of Openstack I think is easy to do but I don't know where is the code..

I will try tomorrow to edit file /usr/share/openstack-dashboard/openstack_dashboard/local/

I'm sure that will work, but If I use the following tutorial, I say that I've to add the lines:

from django.utils.translation import ugettext_lazy as _

import horizon

# Rename "User Settings" to "User Options"
settings = horizon.get_dashboard("settings")
user_panel = settings.get_panel("user") = _("User Options")

The question IS:

===> I supose I have to do that in: horizon/openstack-dashboard/local/

it's exact?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-06-13 07:35:43 -0500

fifieldt gravatar image

Please refer to the Horizon Customisation guide:

edit flag offensive delete link more


Thanks for your help, I updated my post

Ph4nToM gravatar imagePh4nToM ( 2013-06-13 10:11:01 -0500 )edit

Thanks! it works

Ph4nToM gravatar imagePh4nToM ( 2013-06-19 08:19:49 -0500 )edit

answered 2013-06-13 07:35:31 -0500

jpichon gravatar image

updated 2013-06-13 10:19:21 -0500

This particular panel name is defined in openstack_dashboard/dashboards/project/instances/ but I would recommend using the following tutorial to modify the name, so that your changes don't get overwritten when you upgrade:

With regard to your edited question, you can do the modification in a new Python file and place it wherever you like. The HORIZON_CONFIG dictionary in your local_settings file needs to be updated with a "customization_module": "my_project.overrides" attribute as indicated in the linked document, where my_project.overrides is the new file you created with your amendments.

edit flag offensive delete link more


Thanks for your help, I will test that, and post the results.

Ph4nToM gravatar imagePh4nToM ( 2013-06-13 10:23:10 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-06-13 07:16:03 -0500

Seen: 174 times

Last updated: Jun 13 '13