app/soc/views/sitemap/sidebar.py
changeset 637 86ec079d8302
parent 615 1d09147de51f
child 697 190b65431579
--- a/app/soc/views/sitemap/sidebar.py	Sun Nov 30 22:30:01 2008 +0000
+++ b/app/soc/views/sitemap/sidebar.py	Mon Dec 01 12:34:55 2008 +0000
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Sidebar
+"""Module contains sidebar related functions.
 """
 
 __authors__ = [
@@ -25,6 +25,7 @@
 from soc.views import out_of_band
 from soc.views.helper import access
 
+
 SIDEBAR = []
 
 
@@ -46,7 +47,7 @@
 
 
 def getSidebarItems(params):
-  """Retrieves a list of sidebar entries for this view
+  """Retrieves a list of sidebar entries for this view.
 
   Params usage:
     The params dictionary is provided to the menu_text's format.
@@ -98,7 +99,7 @@
 
   Params usage:
     The params dictionary is passed as argument to getSidebarItems,
-      see the docstring of getSidebarItems on how it uses it.
+    see the docstring of getSidebarItems on how it uses it.
 
     rights: The rights dictionary is used to check if the user has
       the required rights to see a sidebar item.
@@ -108,10 +109,10 @@
       heading variable in the result.
     name: The name value is used if sidebar_heading is not present.
 
-  Returns: A dictionary is returned with it's 'heading' value set
-    as explained above. It's 'items' value is constructed by
-    calling _getSidebarItems. It constists of dictionaries with a
-    url and a title field.
+  Returns: 
+    A dictionary is returned with it's 'heading' value set as explained above.
+    It's 'items' value is constructed by calling _getSidebarItems. It constists
+    of dictionaries with a url and a title field.
   """
 
   rights = params['rights']