Changes

no edit summary
Line 17: Line 17:  
_column_empty_cells = {
 
_column_empty_cells = {
 
},
 
},
 +
_custom_row_class = "custom-row",
 
_custom_row_prefix = "custom_row_",
 
_custom_row_prefix = "custom_row_",
 
_classes_suffix = "_classes",
 
_classes_suffix = "_classes",
Line 269: Line 270:  
format{self._column_cell_templates["!"] or self._cell,  
 
format{self._column_cell_templates["!"] or self._cell,  
 
colspan = #self._columns, rowspan = 1,  
 
colspan = #self._columns, rowspan = 1,  
classes = self._args[self._custom_row_prefix .. custom_row_key .. self._classes_suffix] or "",
+
classes = self._custom_row_class .. (self._args[self._custom_row_prefix .. custom_row_key .. self._classes_suffix] or ""),
 
text_align = self._args[self._custom_row_prefix .. custom_row_key .. self._text_align_suffix] or self._start_align,  
 
text_align = self._args[self._custom_row_prefix .. custom_row_key .. self._text_align_suffix] or self._start_align,  
 
bg_color = self._args[self._custom_row_prefix .. custom_row_key .. self._bg_color_suffix] or self._transparent,
 
bg_color = self._args[self._custom_row_prefix .. custom_row_key .. self._bg_color_suffix] or self._transparent,
Anonymous user