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.
Reviewed: https:/ /review. openstack. org/48255 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=e29edf1281a a5b87affb338e22 e65227d45192d9
Committed: https:/
Submitter: Jenkins
Branch: master
commit e29edf1281aa5b8 7affb338e22e652 27d45192d9
Author: Abishek Subramanian <email address hidden>
Date: Mon Mar 17 14:38:06 2014 -0400
Fix project name in the table for Cisco N1K profiles
This is a fix to ensure that the project names for the /"project_ id"
projects that use the Cisco N1K profiles are correctly
displayed in the tables for the Cisco profiles.
This essentially entails changing "tenant"
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 rofile from the tables.py file.
EditPolicyP
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: Ib7fb79ba5bef8a 50cdb500db6e626 94aca6aa640