Last change
on this file since 955 was
182,
checked in by gav, 15 years ago
|
Add support for inventory item Pictures and Images.
Add new PersonService, refactor CreateDataService and TaskService to suite.
|
File size:
2.7 KB
|
Rev | Line | |
---|
[182] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <meta name="layout" content="main" /> |
---|
| 4 | <title>Show Picture</title> |
---|
| 5 | <g:render template="/shared/pictureHead" /> |
---|
| 6 | </head> |
---|
| 7 | <body> |
---|
| 8 | <div class="nav"> |
---|
| 9 | <h1>Show Picture</h1> |
---|
| 10 | </div> |
---|
| 11 | <div class="body"> |
---|
| 12 | <g:render template="/shared/messages" /> |
---|
| 13 | <div class="dialog"> |
---|
| 14 | <table> |
---|
| 15 | <tbody> |
---|
| 16 | <tr class="prop"> |
---|
| 17 | <td valign="top" class="name">Picture:</td> |
---|
| 18 | <td valign="top" class="value"> |
---|
| 19 | <span class='gallery'><wa:pictureLightboxAnchor picture="${picture}" size="${Image.Medium}" lightboxSize="${Image.Large}" target="_blank" title="Show Original" /></span> |
---|
| 20 | </td> |
---|
| 21 | </tr> |
---|
| 22 | <tr class="prop"> |
---|
| 23 | <td valign="top" class="name">Inventory Item:</td> |
---|
| 24 | <td valign="top" class="value"><g:link controller="inventoryItemDetailed" action="show" id="${picture.inventoryItem?.id}" title="Show Inventory Item">${picture.inventoryItem?.toString()?.encodeAsHTML()}</g:link></td> |
---|
| 25 | </tr> |
---|
| 26 | <tr class="prop"> |
---|
| 27 | <td valign="top" class="name">Height:</td> |
---|
| 28 | <td valign="top" class="value">${picture.height}</td> |
---|
| 29 | </tr> |
---|
| 30 | <tr class="prop"> |
---|
| 31 | <td valign="top" class="name">Width:</td> |
---|
| 32 | <td valign="top" class="value">${picture.width}</td> |
---|
| 33 | </tr> |
---|
| 34 | <tr class="prop"> |
---|
| 35 | <td valign="top" class="name">Date Created:</td> |
---|
| 36 | <td valign="top" class="value"><g:formatDate format="EEE, dd-MMM-yyyy" date="${picture.dateCreated}"/></td> |
---|
| 37 | </tr> |
---|
| 38 | <tr class="prop"> |
---|
| 39 | <td valign="top" class="name">Last Updated:</td> |
---|
| 40 | <td valign="top" class="value"><g:formatDate format="EEE, dd-MMM-yyyy" date="${picture.lastUpdated}"/></td> |
---|
| 41 | </tr> |
---|
| 42 | </tbody> |
---|
| 43 | </table> |
---|
| 44 | </div> |
---|
| 45 | <div class="buttons"> |
---|
| 46 | <g:form> |
---|
| 47 | <input type="hidden" name="id" value="${picture?.id}" /> |
---|
| 48 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 49 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 50 | </g:form> |
---|
| 51 | </div> |
---|
| 52 | </div> |
---|
| 53 | </body> |
---|
| 54 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.