Last change
on this file since 1426 was
987,
checked in by robert@…, 12 years ago
|
Fixed bug #15
|
-
Property svn:keywords set to
Author Date Rev
|
File size:
2.5 KB
|
Rev | Line | |
---|
[361] | 1 | |
---|
| 2 | <%@ page import="dbnp.studycapturing.PersonAffiliation" %> |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
[987] | 6 | <meta name="layout" content="${layout}" /> |
---|
[361] | 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 | |
---|
[987] | 21 | <g:sortableColumn params="${extraparams}" property="institute" title="${message(code: 'personAffiliation.institute.label', default: 'Institute')}" /> |
---|
| 22 | <g:sortableColumn params="${extraparams}" property="department" title="${message(code: 'personAffiliation.department.label', default: 'Department')}" /> |
---|
[361] | 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 | |
---|
[987] | 30 | <td><g:link params="${extraparams}" action="show" id="${personAffiliationInstance.id}">${fieldValue(bean: personAffiliationInstance, field: "institute")}</g:link></td> |
---|
[442] | 31 | <td>${fieldValue(bean: personAffiliationInstance, field: "department")}</td> |
---|
[361] | 32 | </tr> |
---|
| 33 | </g:each> |
---|
| 34 | </tbody> |
---|
| 35 | </table> |
---|
| 36 | </div> |
---|
[379] | 37 | <div class="buttons"> |
---|
[987] | 38 | <span class="button"><g:link class="create" params="${extraparams}" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span> |
---|
| 39 | <span class="button"><g:link class="otherList" controller="person" action="list" params="${extraparams}">Edit Persons</g:link></span> |
---|
[379] | 40 | </div> |
---|
[382] | 41 | <div class="paginateButtons"> |
---|
[987] | 42 | <g:paginate params="${extraparams}" total="${personAffiliationInstanceTotal}" prev="« Previous" next="» Next" /> |
---|
[382] | 43 | </div> |
---|
[361] | 44 | </div> |
---|
| 45 | </body> |
---|
| 46 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.