Changeset 920 for branches/features/purchaseOrders/grails-app/services
- Timestamp:
- May 7, 2011, 12:42:44 PM (14 years ago)
- Location:
- branches/features/purchaseOrders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/trunk merged eligible /branches/features/grailsUpgrade 889-911
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/features/purchaseOrders/grails-app/services/AssetTreeService.groovy
r800 r920 111 111 112 112 def sw = new StringWriter() 113 def m kp= new groovy.xml.MarkupBuilder(sw)114 115 m kp.div(class: buttonHtmlClass) {113 def mb = new groovy.xml.MarkupBuilder(sw) 114 115 mb.div(class: buttonHtmlClass) { 116 116 a( href: hrefShowPane() ) { 117 117 img(src: treeRootImg, alt: 'Asset Tree', title: 'Asset Tree') 118 118 } 119 } // mkp119 } 120 120 121 121 return sw.toString() … … 133 133 134 134 def sw = new StringWriter() 135 def m kp= new groovy.xml.MarkupBuilder(sw)136 137 m kp.div(class: paneHtmlClass, id: paneHtmlId, style: 'display:none;') {135 def mb = new groovy.xml.MarkupBuilder(sw) 136 137 mb.div(class: paneHtmlClass, id: paneHtmlId, style: 'display:none;') { 138 138 div(class: paneCloseHtmlClass) { 139 139 a( href: js.toggle(paneHtmlId) ) { … … 155 155 } // table 156 156 } // div 157 } // mkp157 } 158 158 159 159 return sw.toString() … … 203 203 204 204 def sw = new StringWriter() 205 def m kp= new groovy.xml.MarkupBuilder(sw)205 def mb = new groovy.xml.MarkupBuilder(sw) 206 206 207 207 // Offer a site create link if no sites are found. 208 208 if(!sites) { 209 m kp.div(class: tableDivHtmlClass) {209 mb.div(class: tableDivHtmlClass) { 210 210 211 211 div(class: paneCloseHtmlClass) { … … 235 235 } 236 236 } // button div 237 } // m kp237 } // mb 238 238 return sw.toString() 239 239 } // if(!sites) … … 242 242 // The main populated table. 243 243 /// @todo: use a loop for the subItem levels. 244 m kp.div(class: tableDivHtmlClass) {244 mb.div(class: tableDivHtmlClass) { 245 245 246 246 div(class: paneCloseHtmlClass) { … … 443 443 } 444 444 445 } // m kp445 } // mb 446 446 447 447 def totalTime = (System.currentTimeMillis() - startedAt)/1000
Note: See TracChangeset
for help on using the changeset viewer.