Last change
on this file since 837 was
833,
checked in by gav, 14 years ago
|
AJAX Work Done and PM Entry, second draft.
|
File size:
1.9 KB
|
Rev | Line | |
---|
[822] | 1 | |
---|
| 2 | <g:if test="${!taskProcedureExits}"> |
---|
| 3 | <br /> |
---|
| 4 | No Procedure linked. |
---|
| 5 | <br /> |
---|
| 6 | <br /> |
---|
| 7 | <g:form controller="taskProcedureDetailed" > |
---|
| 8 | <g:hiddenField name="taskInstance.id" value="${taskInstance?.id}" /> |
---|
| 9 | |
---|
| 10 | <div class="buttons"> |
---|
| 11 | <span class="button"> |
---|
| 12 | <g:actionSubmit value="New" action="create" class="add"/> |
---|
| 13 | </span> |
---|
| 14 | <span class="button"> |
---|
| 15 | <g:actionSubmit value="Search" action="search" class="search"/> |
---|
| 16 | </span> |
---|
| 17 | </div> |
---|
| 18 | |
---|
| 19 | </g:form> |
---|
| 20 | |
---|
| 21 | </g:if> |
---|
| 22 | <g:else> |
---|
| 23 | <g:render template="/taskProcedureDetailed/taskProcedureRevision" |
---|
| 24 | model="['taskProcedureRevision':taskProcedureRevision]" /> |
---|
[826] | 25 | <br /> |
---|
| 26 | |
---|
[833] | 27 | <div id="pmEntryContainer"> |
---|
| 28 | <g:if test="${entryPMList.isEmpty()}"> |
---|
| 29 | <h1>No PM Entries</h1> |
---|
| 30 | <br /> |
---|
| 31 | </g:if> |
---|
| 32 | <g:else> |
---|
| 33 | <g:render template="/entryDetailed/list" |
---|
| 34 | model="['entryList':entryPMList]" /> |
---|
| 35 | </g:else> |
---|
| 36 | </div> |
---|
[826] | 37 | |
---|
[833] | 38 | <br /> |
---|
| 39 | |
---|
| 40 | <div id="createPMEntryContainer" style="display:none;"></div> |
---|
| 41 | |
---|
[831] | 42 | <div style="text-align:right;" id="pmEntryButton"> |
---|
[826] | 43 | <span class="buttons"> |
---|
| 44 | <input type="button" |
---|
| 45 | class="add" |
---|
[831] | 46 | value="Add PM Entry" |
---|
[833] | 47 | onclick="getCreateEntryForm(jQuery('#pmEntryContainer'), |
---|
| 48 | jQuery('#createPMEntryContainer'), |
---|
| 49 | jQuery('#pmEntryButton'), |
---|
| 50 | {taskId: ${taskInstance?.id}, entryTypeId: 6})" /> |
---|
[826] | 51 | </span> |
---|
| 52 | </div> |
---|
[833] | 53 | |
---|
[823] | 54 | </g:else> |
---|
Note: See
TracBrowser
for help on using the repository browser.