add colspan in Metadata Import tool

The content of the first cell is always wrapped, so this removes
the linebreak by adding colspan="2".
This commit is contained in:
Ivan Masár
2012-06-23 21:51:17 +02:00
parent 2d76c1393c
commit f05ceff8e8

View File

@@ -118,7 +118,7 @@ public class MetadataImportUpload extends AbstractDSpaceTransformer {
if (!change.isNewItem())
{
Item i = change.getItem();
Cell cell = headerrow.addCell();
Cell cell = headerrow.addCell(1, 2); // colspan="2"
cell.addContent(T_changes_pending);
cell.addContent(" " + i.getID() + " (" + i.getHandle() + ")");
@@ -127,7 +127,6 @@ public class MetadataImportUpload extends AbstractDSpaceTransformer {
{
headerrow.addCellContent(T_new_item);
}
headerrow.addCell();
}
// Show actions