diff --git a/css/tmgmt.admin.css b/css/tmgmt.admin.css
index 74d6f69..2760f4f 100644
--- a/css/tmgmt.admin.css
+++ b/css/tmgmt.admin.css
@@ -65,10 +65,18 @@ table.tmgmt-ui-review tbody th {
position: absolute;
}
+.tmgmt-ui-data-item-label .form-item label {
+ display: inline-block;
+ width: 100px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
.tmgmt-ui-state {
/* Visually align the icon in the center between left table border and the
first textarea.*/
- margin: 1.8em -10px 1em 0;
+ margin-top: 2.4em;
text-align: center;
}
@@ -137,7 +145,7 @@ table.tmgmt-ui-review tbody th {
.tmgmt-ui-data-item-actions div {
position: relative;
- margin-top: 25%;
+ margin-top: 2.4em;
}
.tmgmt-ui-data-item-actions div input {
diff --git a/src/Form/JobItemForm.php b/src/Form/JobItemForm.php
index 8627a0c..73ce412 100644
--- a/src/Form/JobItemForm.php
+++ b/src/Form/JobItemForm.php
@@ -667,11 +667,11 @@ class JobItemForm extends TmgmtFormBase {
}
$current_data = $item->getData($key_array);
if (!isset($new_data[$key])) {
- $source_changed[$key] = t('This data item has been removed from the source.');
+ $source_changed[$key] = '' . t('This data item has been removed from the source.') . '';
$source_removed[$key] = TRUE;
}
elseif ($current_data['#text'] != $new_data[$key]['#text']) {
- $source_changed[$key] = t('The source has changed.');
+ $source_changed[$key] = '' . t('The source has changed.') . '';
}
}
}