), StringField( 'IDServerURL', schemata="ID Server", widget=StringWidget( label=_("ID Server URL"), description=_("The full URL: http://URL/path:port") ), ), RecordsField( 'RejectionReasons', schemata="Analyses", widget=RejectionSetupWidget( label=_("Enable the rejection workflow"), description=_("Select this to activate the rejection workflow " "for Samples and Analysis Requests. A 'Reject' " "option will be displayed in the actions menu for " "these objects.") ), ), BooleanField( 'NotifyOnRejection', schemata="Analyses", default=False, widget=BooleanWidget( label=_("Email notification on rejection"), description=_("Select this to activate automatic notifications " "via email to the Client when a Sample or Analysis " "Request is rejected.") ), ),
'IDServerValues', schemata="ID Server", accessor="getIDServerValuesHTML", readonly=True, widget=TextAreaWidget( label=_("ID Server Values"), cols=30, rows=30, ), ), RecordsField( 'RejectionReasons', schemata="Analyses", widget=RejectionSetupWidget( label=_("Enable the rejection workflow"), description=_("Select this to activate the rejection workflow " "for Samples. A 'Reject' option will be displayed in " "the actions menu.") ), ), IntegerField( 'DefaultNumberOfARsToAdd', schemata="Analyses", required=0, default=4, widget=IntegerWidget( label=_("Default count of Sample to add."), description=_("Default value of the 'Sample count' when users click 'ADD' button to create new Samples"), ) ), ))