source: trunk/grails-app/views/publication/show.gsp @ 1545

Last change on this file since 1545 was 1430, checked in by work@…, 13 years ago
  • set keyword expansion
  • Property svn:keywords set to Rev Author Date
File size: 3.6 KB
Line 
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.show.label" args="[entityName]" /></title>
9    </head>
10    <body>
11        <div class="body">
12            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
13            <g:if test="${flash.message}">
14            <div class="message">${flash.message}</div>
15            </g:if>
16            <div class="dialog">
17                <table>
18                    <tbody>
19
20                        <tr class="prop">
21                            <td valign="top" class="name"><g:message code="publication.title.label" default="Title" /></td>
22
23                            <td valign="top" class="value">${fieldValue(bean: publicationInstance, field: "title")}</td>
24
25                        </tr>
26                   
27                        <tr class="prop">
28                            <td valign="top" class="name"><g:message code="publication.authorsList.label" default="Authors List" /></td>
29                           
30                            <td valign="top" class="value">${fieldValue(bean: publicationInstance, field: "authorsList")}</td>
31                           
32                        </tr>
33                   
34                        <tr class="prop">
35                            <td valign="top" class="name"><g:message code="publication.comments.label" default="Comments" /></td>
36                           
37                            <td valign="top" class="value">${fieldValue(bean: publicationInstance, field: "comments")}</td>
38                           
39                        </tr>
40
41
42                        <tr class="prop">
43                            <td valign="top" class="name"><g:message code="publication.pubMedID.label" default="Pub Med ID" /></td>
44
45                            <td valign="top" class="value">${fieldValue(bean: publicationInstance, field: "pubMedID")}</td>
46
47                        </tr>
48
49                        <tr class="prop">
50                            <td valign="top" class="name"><g:message code="publication.DOI.label" default="DOI" /></td>
51
52                            <td valign="top" class="value">
53                              <g:if test="${publicationInstance.DOI}">
54                                <a href="http://dx.doi.org/${fieldValue(bean: publicationInstance, field: "DOI")}">
55                                  ${fieldValue(bean: publicationInstance, field: "DOI")}
56                                </a>
57                              </g:if>
58                            </td>
59
60                        </tr>
61                    </tbody>
62                </table>
63            </div>
64            <div class="buttons">
65                <g:form>
66                    <g:hiddenField name="id" value="${publicationInstance?.id}" />
67                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
68                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
69                    <span class="button"><g:link class="backToList" action="list">Back to list</g:link></span>
70
71                </g:form>
72            </div>
73        </div>
74    </body>
75</html>
Note: See TracBrowser for help on using the repository browser.