Changes

no edit summary
Line 245: Line 245:  
end
 
end
 
if row_values[column].simple then
 
if row_values[column].simple then
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell_simple, row_values[column]))
+
table.insert(self._rows, format(self._cell_simple, row_values[column]))
 
else
 
else
 
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell, row_values[column]))
 
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell, row_values[column]))
Line 273: Line 273:  
for _, column in ipairs(self._columns) do
 
for _, column in ipairs(self._columns) do
 
if row_values[column] then
 
if row_values[column] then
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell, row_values[column]))
+
if row_values[column].simple then
 +
table.insert(self._rows, format(self._cell_simple, row_values[column]))
 +
else
 +
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell, row_values[column]))
 +
end
 
end
 
end
 
end
 
end
cssedit, gkautomate
7,064

edits