Fix the awkward English in description for extra info

The description for the PROJECT_TABLE_EXTRA_INFO and
USER_TABLE_EXTRA_INFO settings makes no sense. This patch cleans
up the English to describe how to use these settings.

Change-Id: I6e14889a1dc8b3e4b242b6649847761084500c08
This commit is contained in:
Eric Brown
2017-02-05 17:22:01 -08:00
parent 95052ba73d
commit 8f01b2cb0e
2 changed files with 8 additions and 13 deletions

View File

@@ -1810,10 +1810,9 @@ This setting controls the behavior of the operation log.
Default: ``{}``
Add additional information for project as an extra attribute.
Project and user can have any attributes by keystone mechanism.
This setting can treat these attributes on Horizon when only
using Keystone v3.
Adds additional information for projects as extra attributes. Projects and
users can have extra attributes as defined by keystone v3. This setting allows
those attributes to be shown in horizon.
For example::
PROJECT_TABLE_EXTRA_INFO = {

View File

@@ -827,15 +827,11 @@ REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES',
#}
ALLOWED_PRIVATE_SUBNET_CIDR = {'ipv4': [], 'ipv6': []}
# Project and user can have any attributes by keystone v3 mechanism.
# This settings can treat these attributes on Horizon.
# It means, when you show Create/Update modal, attribute below is
# shown and you can specify any value.
# If you'd like to display these extra data in project or user index table,
# Keystone v3 allows you to add extra properties to Project and Users.
# Horizon's customization (http://docs.openstack.org/developer/horizon/topics/customizing.html#horizon-customization-module-overrides)
# allows you to display this extra information in the Create/Update modal and
# the corresponding tables.
# Projects and users can have extra attributes as defined by keystone v3.
# Horizon has the ability to display these extra attributes via this setting.
# If you'd like to display extra data in the project or user tables, set the
# corresponding dict key to the attribute name, followed by the display name.
# For more information, see horizon's customization (http://docs.openstack.org/developer/horizon/topics/customizing.html#horizon-customization-module-overrides)
#PROJECT_TABLE_EXTRA_INFO = {
# 'phone_num': _('Phone Number'),
#}