- Timestamp:
- Feb 9, 2011, 6:11:00 PM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Task.groovy
r728 r799 61 61 } 62 62 63 String toString() {"${this.id} - ${this.description}"} 63 String toString() { 64 def s = "#${this.id} - " 65 if(this.primaryAsset) 66 s += "${primaryAsset.name}: " 67 s += "${this.description}" 68 } 69 64 70 } -
trunk/grails-app/views/taskDetailed/search.gsp
r736 r799 145 145 146 146 <b> 147 <g:if test="${taskInstance.primaryAsset}"> 148 ${fieldValue(bean:taskInstance, field:'primaryAsset')}: 149 </g:if> 147 150 ${fieldValue(bean:taskInstance, field:'description')} 148 151 </b> … … 164 167 <br /> 165 168 <br /> 166 <g:if test="${taskInstance.primaryAsset}">167 ${fieldValue(bean:taskInstance, field:'primaryAsset')}<br />168 </g:if>169 169 <g:each in="${taskInstance.assignedGroups}" status="j" var="assignedGroup"> 170 170 ${assignedGroup.encodeAsHTML()}<br /> -
trunk/grails-app/views/taskDetailed/show.gsp
r798 r799 44 44 </g:if> 45 45 </h1> 46 <g:if test="${taskInstance.primaryAsset}" > 47 ${fieldValue(bean:taskInstance, field:'primaryAsset')}: 48 </g:if> 46 49 ${fieldValue(bean:taskInstance, field:'description')} 47 50 <g:if test="${taskInstance.safetyRequirement}" >
Note: See TracChangeset
for help on using the changeset viewer.