mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
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:
@@ -118,7 +118,7 @@ public class MetadataImportUpload extends AbstractDSpaceTransformer {
|
|||||||
if (!change.isNewItem())
|
if (!change.isNewItem())
|
||||||
{
|
{
|
||||||
Item i = change.getItem();
|
Item i = change.getItem();
|
||||||
Cell cell = headerrow.addCell();
|
Cell cell = headerrow.addCell(1, 2); // colspan="2"
|
||||||
cell.addContent(T_changes_pending);
|
cell.addContent(T_changes_pending);
|
||||||
cell.addContent(" " + i.getID() + " (" + i.getHandle() + ")");
|
cell.addContent(" " + i.getID() + " (" + i.getHandle() + ")");
|
||||||
|
|
||||||
@@ -127,7 +127,6 @@ public class MetadataImportUpload extends AbstractDSpaceTransformer {
|
|||||||
{
|
{
|
||||||
headerrow.addCellContent(T_new_item);
|
headerrow.addCellContent(T_new_item);
|
||||||
}
|
}
|
||||||
headerrow.addCell();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show actions
|
// Show actions
|
||||||
|
Reference in New Issue
Block a user