Changeset 361


Ignore:
Timestamp:
Apr 20, 2010, 8:01:50 PM (9 years ago)
Author:
roberth
Message:

Added controllers and views for Person, PersonAffiliation? and PersonRole? and added them to the menu. Also removed the link between Person and PersonRole?, in line with the datamodel

Location:
trunk
Files:
20 added
2 edited

Legend:

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

    r359 r361  
    1414    String address
    1515
    16     static hasMany = [roles : PersonRole, affiliations: PersonAffiliation]
     16    static hasMany = [affiliations: PersonAffiliation]
    1717
    1818    static constraints = {
  • trunk/grails-app/views/common/_topnav.gsp

    r359 r361  
    1919      </ul>
    2020     </li>
     21     <li>
     22      <a href="#">Contacts</a>
     23      <ul class="subnav">
     24        <li><g:link controller="person" action="list">View persons</g:link></li>
     25        <li><g:link controller="personAffiliation" action="list">View affiliations</g:link></li>
     26        <li><g:link controller="personRole" action="list">View roles</g:link></li>
     27      </ul>
     28     </li>
     29
    2130         <li><g:link controller="importer" action="index">Import data</g:link></li>
    2231    <g:if env="development">
Note: See TracChangeset for help on using the changeset viewer.