Last change
on this file since 442 was
442,
checked in by roberth, 13 years ago
|
Updated studies list and added institute and department properties to person affiliations
|
File size:
2.2 KB
|
Line | |
---|
1 | |
---|
2 | <%@ page import="dbnp.studycapturing.PersonAffiliation" %> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
6 | <meta name="layout" content="main" /> |
---|
7 | <g:set var="entityName" value="${message(code: 'personAffiliation.label', default: 'PersonAffiliation')}" /> |
---|
8 | <title><g:message code="default.list.label" args="['Affiliation']" /></title> |
---|
9 | </head> |
---|
10 | <body> |
---|
11 | <div class="body"> |
---|
12 | <h1><g:message code="default.list.label" args="['Affiliation']" /></h1> |
---|
13 | <g:if test="${flash.message}"> |
---|
14 | <div class="message">${flash.message}</div> |
---|
15 | </g:if> |
---|
16 | <div class="list"> |
---|
17 | <table> |
---|
18 | <thead> |
---|
19 | <tr> |
---|
20 | |
---|
21 | <g:sortableColumn property="institute" title="${message(code: 'personAffiliation.institute.label', default: 'Institute')}" /> |
---|
22 | <g:sortableColumn property="department" title="${message(code: 'personAffiliation.department.label', default: 'Department')}" /> |
---|
23 | |
---|
24 | </tr> |
---|
25 | </thead> |
---|
26 | <tbody> |
---|
27 | <g:each in="${personAffiliationInstanceList}" status="i" var="personAffiliationInstance"> |
---|
28 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
29 | |
---|
30 | <td><g:link action="show" id="${personAffiliationInstance.id}">${fieldValue(bean: personAffiliationInstance, field: "institute")}</g:link></td> |
---|
31 | <td>${fieldValue(bean: personAffiliationInstance, field: "department")}</td> |
---|
32 | </tr> |
---|
33 | </g:each> |
---|
34 | </tbody> |
---|
35 | </table> |
---|
36 | </div> |
---|
37 | <div class="buttons"> |
---|
38 | <span class="button"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span> |
---|
39 | </div> |
---|
40 | <div class="paginateButtons"> |
---|
41 | <g:paginate total="${personAffiliationInstanceTotal}" prev="« Previous" next="» Next" /> |
---|
42 | </div> |
---|
43 | </div> |
---|
44 | </body> |
---|
45 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.