Table cells for customized messages were missing the classes used to style the default & actual text differently. Got lost in r90334: added dir/lang attributes for the language but accidentally left out the classes.
}
function getCellAttrs( $field, $value ){
- if( $field != 'am_title' ) {
- return array( 'lang' => $this->langcode, 'dir' => $this->lang->getDir() );
- } elseif( $this->mCurrentRow->am_customised && $field == 'am_title' ) {
+ if( $this->mCurrentRow->am_customised && $field == 'am_title' ){
return array( 'rowspan' => '2', 'class' => $field );
- } else {
+ } else if( $field == 'am_title' ) {
return array( 'class' => $field );
+ } else {
+ return array( 'lang' => $this->langcode, 'dir' => $this->lang->getDir(), 'class' => $field );
}
}