1 | |
---|
2 | <%@ page import="dbnp.studycapturing.Publication" %> |
---|
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: 'publication.label', default: 'Publication')}" /> |
---|
8 | <title><g:message code="default.list.label" args="[entityName]" /></title> |
---|
9 | </head> |
---|
10 | <body> |
---|
11 | <div class="body"> |
---|
12 | <h1><g:message code="default.list.label" args="[entityName]" /></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 | <g:sortableColumn property="title" title="${message(code: 'publication.title.label', default: 'Title')}" /> |
---|
21 | |
---|
22 | <g:sortableColumn property="authorsList" title="${message(code: 'publication.authorsList.label', default: 'Authors')}" /> |
---|
23 | |
---|
24 | <g:sortableColumn property="comments" title="${message(code: 'publication.comments.label', default: 'Comments')}" /> |
---|
25 | |
---|
26 | <!-- |
---|
27 | <g:sortableColumn property="pubMedID" title="${message(code: 'publication.pubMedID.label', default: 'Pub Med ID')}" /> |
---|
28 | |
---|
29 | <g:sortableColumn property="DOI" title="${message(code: 'publication.DOI.label', default: 'DOI')}" /> |
---|
30 | --> |
---|
31 | </tr> |
---|
32 | </thead> |
---|
33 | <tbody> |
---|
34 | <g:each in="${publicationInstanceList}" status="i" var="publicationInstance"> |
---|
35 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
36 | |
---|
37 | <td><g:link action="show" id="${publicationInstance.id}">${fieldValue(bean: publicationInstance, field: "title")}</g:link></td> |
---|
38 | |
---|
39 | <td>${fieldValue(bean: publicationInstance, field: "authorsList")}</td> |
---|
40 | |
---|
41 | <td>${fieldValue(bean: publicationInstance, field: "comments")}</td> |
---|
42 | |
---|
43 | <!-- |
---|
44 | <td>${fieldValue(bean: publicationInstance, field: "pubMedID")}</td> |
---|
45 | |
---|
46 | <td>${fieldValue(bean: publicationInstance, field: "DOI")}</td> |
---|
47 | --> |
---|
48 | |
---|
49 | </tr> |
---|
50 | </g:each> |
---|
51 | </tbody> |
---|
52 | </table> |
---|
53 | </div> |
---|
54 | <div class="buttons"> |
---|
55 | <span class="button"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span> |
---|
56 | </div> |
---|
57 | <div class="paginateButtons"> |
---|
58 | <g:paginate total="${publicationInstanceTotal}" prev="« Previous" next="» Next" /> |
---|
59 | </div> |
---|
60 | </div> |
---|
61 | </body> |
---|
62 | </html> |
---|