app/soc/views/models/program.py
changeset 1144 f89bbc9b20a6
parent 1115 0a723ff3d27c
child 1162 1d9396d75c13
--- a/app/soc/views/models/program.py	Sun Feb 01 13:26:25 2009 +0000
+++ b/app/soc/views/models/program.py	Sun Feb 01 13:29:34 2009 +0000
@@ -79,7 +79,7 @@
 
         'scope_path': forms.CharField(widget=forms.HiddenInput, required=True),
 
-        'workflow' : forms.ChoiceField(choices=[('gsoc','Project-based'),
+        'workflow': forms.ChoiceField(choices=[('gsoc','Project-based'),
             ('ghop','Task-based')], required=True),
         }
 
@@ -157,9 +157,9 @@
       try:
         # check if the current user is a host for this program
         rights.doCachedCheck('checkIsHostForProgram', 
-            {'scope_path' : entity.scope_path,
-            'link_id' : entity.link_id,
-            'workflow' : entity.workflow}, [])
+            {'scope_path': entity.scope_path,
+            'link_id': entity.link_id,
+            'workflow': entity.workflow}, [])
 
         if entity.status == 'invisible':
           # still add the document links so hosts can see how it looks like
@@ -173,7 +173,7 @@
             "Edit Program Timeline", 'any_access')]
         # add link to create a new Program Document
         items += [(redirects.getCreateDocumentRedirect(entity, 'program'),
-          "Create new document", 'any_access')]
+            "Create a New Document", 'any_access')]
 
       except out_of_band.Error:
         pass