app/soc/modules/ghop/views/models/program.py
changeset 2940 ef809d10aaf1
parent 2935 0b8b82b6764e
child 2941 5d2afe70420d
equal deleted inserted replaced
2939:415a7c2866fd 2940:ef809d10aaf1
   141     params = dicts.merge(params, new_params, sub_merge=True)
   141     params = dicts.merge(params, new_params, sub_merge=True)
   142 
   142 
   143     super(View, self).__init__(params=params)
   143     super(View, self).__init__(params=params)
   144 
   144 
   145     dynafields = [
   145     dynafields = [
   146         {'name': 'task_difficulties',
   146         {'name': 'overview_task_difficulties',
   147          'base': forms.CharField,
   147          'base': forms.CharField,
   148          'label': 'Task Difficulty Levels',
   148          'label': 'Task Difficulty Levels',
       
   149          'group': 'Task Settings',
   149          'widget': widgets.ReadOnlyInput(),
   150          'widget': widgets.ReadOnlyInput(),
   150          'required': False,
   151          'required': False,
   151          'help_text': ugettext('Lists all the difficulty levels that '
   152          'help_text': ugettext('Lists all the difficulty levels that '
   152                                'can be assigned to a task. Edit them '
   153                                'can be assigned to a task. Edit them '
   153                                'from the Program menu on sidebar.'),
   154                                'from the Program menu on sidebar.'),
   154          },
   155          },
   155          {'name': 'task_types',
   156          {'name': 'overview_task_types',
   156          'base': forms.CharField,
   157          'base': forms.CharField,
   157          'label': 'Task Type Tags',
   158          'label': 'Task Type Tags',
       
   159          'group': 'Task Settings',
   158          'widget': widgets.ReadOnlyInput(),
   160          'widget': widgets.ReadOnlyInput(),
   159          'required': False,
   161          'required': False,
   160          'help_text': ugettext('Lists all the types a task can be in. '
   162          'help_text': ugettext('Lists all the types a task can be in. '
   161                                'Edit them from the Program menu on sidebar.'),
   163                                'Edit them from the Program menu on sidebar.'),
   162          },
   164          },