Changeset 50 for trunk/src/grails-app/views/task/show.gsp
- Timestamp:
- Feb 3, 2009, 10:51:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/task/show.gsp
r47 r50 1 2 3 1 <html> 4 2 <head> … … 18 16 <div class="message">${flash.message}</div> 19 17 </g:if> 18 <div class="buttons"> 19 <g:form> 20 <input type="hidden" name="id" value="${taskInstance?.id}" /> 21 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 22 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 23 </g:form> 24 </div> 25 20 26 <div class="dialog"> 21 27 <table> … … 44 50 </tr> 45 51 46 <tr class="prop"> 47 <td valign="top" class="name">Entries:</td> 48 49 <td valign="top" style="text-align:left;" class="value"> 50 <ul> 51 <g:each var="e" in="${taskInstance.entries}"> 52 <li><g:link controller="entry" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> 53 </g:each> 54 </ul> 55 </td> 56 57 </tr> 52 58 53 59 <tr class="prop">54 <!-- <tr class="prop"> 60 55 <td valign="top" class="name">Modifications:</td> 61 56 … … 68 63 </td> 69 64 70 </tr> 65 </tr>--> 71 66 72 67 <tr class="prop"> … … 101 96 </table> 102 97 </div> 103 <div class="buttons"> 104 <g:form> 105 <input type="hidden" name="id" value="${taskInstance?.id}" /> 106 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 107 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 108 </g:form> 98 <div class="dialog"> 99 <table> 100 <tbody> 101 <div class="dialog"> 102 <tr class="prop"> 103 <td valign="top" class="name">Entries:</td> 104 <td /> 105 <td /> 106 <td /> 107 </tr> 108 <tr class="prop"> 109 <td /> 110 <td valign="top" style="text-align:left;" class="value"> 111 <g:each var="comment" in="${taskInstance.entries.comments}"> 112 </br> 113 ${comment} 114 </br> 115 </g:each> 116 </td> 117 <td valign="top" style="text-align:left;" class="value"> 118 <g:each var="date" in="${taskInstance.entries.date}"> 119 </br> 120 ${date} 121 </br> 122 </g:each> 123 </td> 124 <td valign="top" style="text-align:left;" class="value"> 125 <g:each var="person" in="${taskInstance.entries.person}"> 126 </br> 127 ${person} 128 </br> 129 </g:each> 130 </td> 131 </tr> 132 </div> 133 </tbody> 134 </table> 109 135 </div> 110 136 </div>
Note: See TracChangeset
for help on using the changeset viewer.