Changeset 796
- Timestamp:
- Aug 10, 2010, 5:06:00 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 deleted
- 4 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r787 r796 1 1 package dbnp.studycapturing 2 3 import dbnp.user.User 2 4 3 5 /** … … 14 16 } 15 17 16 nimble.User owner // The owner of the study. A new study is automatically owned by its creator.18 User owner // The owner of the study. A new study is automatically owned by its creator. 17 19 String title // The title of the study 18 20 String code // currently used as the external study ID, e.g. to reference a study in a SAM module … … 28 30 29 31 static hasMany = [ 30 editors: nimble.User, // Users with read/write access to the study31 readers: nimble.User, // Users with only read access to the study32 editors: User, // Users with read/write access to the study 33 readers: User, // Users with only read access to the study 32 34 subjects: Subject, 33 35 samplingEvents: SamplingEvent, -
trunk/grails-app/domain/dbnp/studycapturing/Template.groovy
r784 r796 1 1 package dbnp.studycapturing 2 3 import dbnp.user.User 2 4 3 5 /** … … 29 31 30 32 /** The owner of the template. If the owner is not defined, it is a shared/public template */ 31 nimble.User owner33 User owner 32 34 33 35 /** The template fields which are the members of this template. This is a List to preserve the field order */ -
trunk/grails-app/domain/dbnp/user/Profile.groovy
r794 r796 13 13 * $Date$ 14 14 */ 15 package nimble15 package dbnp.user 16 16 17 17 class Profile { -
trunk/grails-app/domain/dbnp/user/User.groovy
r794 r796 13 13 * $Date$ 14 14 */ 15 package nimble15 package dbnp.user 16 16 17 17 class User { -
trunk/grails-app/views/study/create.gsp
r359 r796 105 105 </td> 106 106 <td valign="top" class="value ${hasErrors(bean: studyInstance, field: 'owner', 'errors')}"> 107 <g:select name="owner.id" from="${ nimble.User.list()}" optionKey="id" value="${studyInstance?.owner?.id}" />107 <g:select name="owner.id" from="${dbnp.user.User.list()}" optionKey="id" value="${studyInstance?.owner?.id}" /> 108 108 </td> 109 109 </tr> -
trunk/grails-app/views/study/edit.gsp
r359 r796 90 90 </td> 91 91 <td valign="top" class="value ${hasErrors(bean: studyInstance, field: 'readers', 'errors')}"> 92 <g:select name="readers" from="${ nimble.User.list()}" multiple="yes" optionKey="id" size="5" value="${studyInstance?.readers}" />92 <g:select name="readers" from="${dbnp.user.User.list()}" multiple="yes" optionKey="id" size="5" value="${studyInstance?.readers}" /> 93 93 </td> 94 94 </tr> … … 108 108 </td> 109 109 <td valign="top" class="value ${hasErrors(bean: studyInstance, field: 'editors', 'errors')}"> 110 <g:select name="editors" from="${ nimble.User.list()}" multiple="yes" optionKey="id" size="5" value="${studyInstance?.editors}" />110 <g:select name="editors" from="${dbnp.user.User.list()}" multiple="yes" optionKey="id" size="5" value="${studyInstance?.editors}" /> 111 111 </td> 112 112 </tr> … … 153 153 </td> 154 154 <td valign="top" class="value ${hasErrors(bean: studyInstance, field: 'owner', 'errors')}"> 155 <g:select name="owner.id" from="${ nimble.User.list()}" optionKey="id" value="${studyInstance?.owner?.id}" />155 <g:select name="owner.id" from="${dbnp.user.User.list()}" optionKey="id" value="${studyInstance?.owner?.id}" /> 156 156 </td> 157 157 </tr>
Note: See TracChangeset
for help on using the changeset viewer.