Ignore:
Timestamp:
Dec 9, 2010, 2:51:51 PM (10 years ago)
Author:
work@…
Message:
  • moved 'description' from study template fields into domain variables so that every study will contain a -non required- description which is more logical
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/StudyController.groovy

    r1241 r1245  
    9393            // use the same view for showing the study and comparing multiple
    9494            // studies
    95             [studyList: [ studyInstance ], multipleStudies: false, loggedInUser: loggedInUser, facebookLikeUrl: "/study/show/${studyInstance?.id}" ]
     95            [studyList: [ studyInstance ], multipleStudies: false, loggedInUser: loggedInUser, facebookLikeUrl: studyInstance.getFieldValue('published') ? "/study/show/${studyInstance?.id}" : '' ]
    9696        }
    9797    }
Note: See TracChangeset for help on using the changeset viewer.