Ignore:
Timestamp:
May 24, 2010, 11:48:40 PM (10 years ago)
Author:
keesvb
Message:

Reverting Subject optimization as it breaks the study create wizard on adding Subjects, added help texts to Bootstrap and icons to study create wizard, added new text to home, added help texts to study create wizard pages

Location:
trunk/grails-app/domain/dbnp/studycapturing
Files:
2 edited

Legend:

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

    r453 r455  
    3030                        new TemplateField(
    3131                                name: 'startDate',
    32                                 type: TemplateFieldType.DATE)
     32                                type: TemplateFieldType.DATE,
     33                                comment: 'Fill out the official start date or date of first action')
    3334                ]
    3435
  • trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy

    r454 r455  
    2121         * @return List
    2222         */
    23         List<TemplateField> giveDomainFields() { return Subject.domainFields }
    24         static List<TemplateField> domainFields =
     23        List<TemplateField> giveDomainFields() {
    2524                [
    2625                        new TemplateField(
    2726                                name: 'name',
    2827                                type: TemplateFieldType.STRING,
    29                                 preferredIdentifier: true),
     28                                preferredIdentifier: true,
     29                                comment: 'Use the local subject name or the pre-defined name'),
    3030                        new TemplateField(
    3131                                name: 'species',
    32                                 type: TemplateFieldType.ONTOLOGYTERM)
     32                                type: TemplateFieldType.ONTOLOGYTERM,
     33                                ontologies: [Ontology.findByNcboId(1132)],
     34                                comment: "The species name is based on the NEWT ontology; if a species is missing, please add it to the ontology using 'add more'")
    3335                ]
     36        }
    3437}
Note: See TracChangeset for help on using the changeset viewer.