Fix project name in the table for Cisco N1K profiles

This is a fix to ensure that the project names for the
projects that use the Cisco N1K profiles are correctly
displayed in the tables for the Cisco profiles.
This essentially entails changing "tenant"/"project_id"
to "project" in the forms.py and views.py files;
and changing "project_id" to just "id" in the tables.py
file.

Additionally removing the lines of code for class
EditPolicyProfile from the tables.py file.
This class is not in any use anywhere and also
Policy profiles are uneditable right now. The url
it was referring to was also the wrong one. Made sense
to just do away with it.

Closes-bug: #1229811

Change-Id: Ib7fb79ba5bef8a50cdb500db6e62694aca6aa640
This commit is contained in:
Abishek Subramanian 2014-03-17 14:38:06 -04:00
parent a769bd08f0
commit 0446a97cdf
1 changed files with 0 additions and 1 deletions

View File

@ -68,7 +68,6 @@ HORIZON_CONFIG = {
# using run_tests will require the registration of the "router" dashboard.
# TODO (absubram): Need to make this permanent when a better solution
# for run_tests is implemented to use with and without the n1k sub-plugin.
#'openstack_dashboard.dashboards.router',
#'dashboards': ('project', 'admin', 'settings', 'router',),
'default_dashboard': 'project',
"password_validator": {