# HG changeset patch # User Chen Lunpeng # Date 1238159787 0 # Node ID 3ab5d0d73f3885ae8f4a38a2964e6454710258b6 # Parent df3552deba6692db8a125c2e16a8cb4e8a23e06c Fixed some typo in app/soc/views/models/base.py Patch by: Chen Lunpeng Reviewed by: to-be-reviewed diff -r df3552deba66 -r 3ab5d0d73f38 app/soc/views/models/base.py --- a/app/soc/views/models/base.py Fri Mar 27 11:16:35 2009 +0000 +++ b/app/soc/views/models/base.py Fri Mar 27 13:16:27 2009 +0000 @@ -146,7 +146,7 @@ Params usage: rights: The rights dictionary is used to check if the user has - the required rights to view the public page for this entity. + the required rights to view the admin page for this entity. See checkAccess for more details on how the rights dictionary is used to check access rights. name: The name value is used to set the entity_type in the @@ -872,7 +872,7 @@ template: if specified, this template is Params usage: - name: The name_plural value is used to set the entity_type + name: The name value is used to set the entity_type value in the context so that the template can refer to it. name_plural: same as name, but used to set entity_type_plural name_short: same as name, but used to set entity_type_short