diff --git a/akvo/rsr/models/project_editor_validation.py b/akvo/rsr/models/project_editor_validation.py index 69fb5dd00c..d51e6d3d7d 100644 --- a/akvo/rsr/models/project_editor_validation.py +++ b/akvo/rsr/models/project_editor_validation.py @@ -49,14 +49,12 @@ class ProjectEditorValidation(Model): """ MANDATORY_ACTION = 1 HIDDEN_ACTION = 2 - # READ_ONLY_ACTION = 3 - ACTIONS_LIST = [MANDATORY_ACTION, HIDDEN_ACTION,]# READ_ONLY_ACTION] + ACTIONS_LIST = [MANDATORY_ACTION, HIDDEN_ACTION,] ACTIONS_LABELS = [ _(u'Mandatory'), _(u'Hidden'), - # _(u'Read only'), ] ACTIONS = zip(ACTIONS_LIST, ACTIONS_LABELS) diff --git a/akvo/rsr/templatetags/project_editor.py b/akvo/rsr/templatetags/project_editor.py index 4cff709cee..9e2a02e992 100644 --- a/akvo/rsr/templatetags/project_editor.py +++ b/akvo/rsr/templatetags/project_editor.py @@ -216,7 +216,7 @@ def mandatory_or_hidden(validations, field): """ Retrieves the mandatory and hidden fields for project editor validations. - :returns A string on the form mandatory-{validation ID} and/or hidden-{validation_ID} + :returns A string of the form mandatory-{validation ID} and/or hidden-{validation_ID} """ indications = ''