Revision history [back]

click to hide/show revision 1
initial version

Hi. Please try the below code and let me know if it is working fine.

from django.utils.translation import ugettext_lazy as _ from horizon import tables from openstack_dashboard.dashboards.project.instances import tables as project_tables from openstack_dashboard.dashboards.project.instances import views

class MyInstancesTable(project_tables.InstancesTable): pubname = tables.Column("pubname", verbose_name=_("Public name"))

views.IndexView.table_class = MyInstancesTable

Hi. Please try the below code and let me know if it is working fine.

from django.utils.translation import ugettext_lazy as _ from horizon import tables from openstack_dashboard.dashboards.project.instances import tables as project_tables from openstack_dashboard.dashboards.project.instances import viewshttp://pastebin.com/sieghZkd

class MyInstancesTable(project_tables.InstancesTable): pubname = tables.Column("pubname", verbose_name=_("Public name"))

views.IndexView.table_class = MyInstancesTable