Changeset 967

Show
Ignore:
Timestamp:
21-10-10 16:13:39 (3 years ago)
Author:
business@…
Message:

added Study 'published' field to domainFields

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r966 r967  
    9191                        type: TemplateFieldType.DATE, 
    9292                        comment: 'Fill out the official start date or date of first action', 
     93                        required: true), 
     94                new TemplateField( 
     95                        name: 'published', 
     96                        type: TemplateFieldType.BOOLEAN, 
     97                        comment: 'Determines whether this study is published (accessible for the study readers and, if the study is public, for anonymous users). A study can only be published if it meets certain quality criteria, which will be checked upon save.', 
    9398                        required: true) 
    9499        ]