summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/sudocmdgroup.py
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-06-23 19:48:50 -0500
committerAdam Young <ayoung@redhat.com>2011-06-27 12:11:22 -0400
commit8d9575605dea3ca480f657c1ef3f94cab0d312f8 (patch)
treeeb0836a9502e1304a907e7dd499f75738bc9165f /ipalib/plugins/sudocmdgroup.py
parentd49bf3871bd4471d73ac06b871ae509bc340a544 (diff)
downloadfreeipa-8d9575605dea3ca480f657c1ef3f94cab0d312f8.tar.gz
freeipa-8d9575605dea3ca480f657c1ef3f94cab0d312f8.tar.xz
freeipa-8d9575605dea3ca480f657c1ef3f94cab0d312f8.zip
Added singular entity labels.
A new attribute label_singular has been added to all entities which contains the singular form of the entity label in lower cases except for acronyms (e.g. HBAC) or proper nouns (e.g. Kerberos). In the Web UI, this label can be capitalized using CSS text-transform. The existing 'label' attribute is intentionally left unchanged due to inconsistencies in the current values. It contains mostly the plural form of capitalized entity label, but some are singular. Also, it seems currently there is no comparable capitalization method on the server-side. So more work is needed before the label can be changed. Ticket #1249
Diffstat (limited to 'ipalib/plugins/sudocmdgroup.py')
-rw-r--r--ipalib/plugins/sudocmdgroup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/sudocmdgroup.py b/ipalib/plugins/sudocmdgroup.py
index 3931111fc..49b172ea2 100644
--- a/ipalib/plugins/sudocmdgroup.py
+++ b/ipalib/plugins/sudocmdgroup.py
@@ -63,6 +63,7 @@ class sudocmdgroup(LDAPObject):
}
label = _('Sudo Command Groups')
+ label_singular = _('sudo command group')
takes_params = (
Str('cn',