| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 4 | 	public function updateCMSFields(FieldList $fields) { | 
            ||
| 5 | 		Requirements::css('cwp/css/fieldDescriptionToggle.css'); | 
            ||
| 6 | 		Requirements::javascript('cwp/javascript/fieldDescriptionToggle.js'); | 
            ||
| 7 | |||
| 8 | $fields->insertAfter(  | 
            ||
| 9 | ReadonlyField::create(  | 
            ||
| 10 | 'BackLinkCount',  | 
            ||
| 11 | 				_t('AssetTableField.BACKLINKCOUNT', 'Used on:'),  | 
            ||
| 12 | 				$this->owner->BackLinkTracking()->Count() . ' ' . _t('AssetTableField.PAGES', 'page(s)')) | 
            ||
| 13 | 			->addExtraClass('cms-description-toggle') | 
            ||
| 14 | ->setDescription($this->BackLinkHTMLList()),  | 
            ||
| 15 | 'LastEdited'  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 16 | );  | 
            ||
| 44 |