Changeset 862 for trunk/grails-app
- Timestamp:
- Mar 13, 2011, 7:06:34 PM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/EntryDetailedController.groovy
r859 r862 153 153 154 154 def model = ['entryList': entryList] 155 def taskModel = ['taskInstance': entryList[0].task] 155 156 156 157 render(contentType:"text/json") { 157 158 updates = array { 158 159 element([ mode: 'replace', target:"$params.target", content: g.render(template: 'list', model:model) ]) 160 element([ mode: 'replace', 161 target:".tabHeader", 162 content: g.render(template: '/taskDetailed/showTabHeader', model:taskModel) ]) 163 element([ mode: 'replace', 164 target:"#taskControlButtons", 165 content: g.render(template: '/taskDetailed/showTaskControlButtons', model:taskModel) ]) 159 166 } 160 167 } -
trunk/grails-app/views/taskDetailed/_showTaskControlButtons.gsp
r861 r862 15 15 <g:else> 16 16 <span class="button"><g:actionSubmit class="flag" value="Unresolved" action="setAttentionFlag"/></span> 17 <g:helpBalloon class="helpballoon" code="task.status.unresolved" /> 17 <custom:helpBalloon code="task.status.unresolved" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" /> 18 18 19 </g:else> 19 20 … … 29 30 </g:else> 30 31 </span> 31 <g:helpBalloon class="helpballoon" code="task.status.resolved" /> 32 <custom:helpBalloon code="task.status.resolved" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" /> 33 32 34 33 35 <g:if test="${taskInstance.approved}" >
Note: See TracChangeset
for help on using the changeset viewer.