Index: typo3/stylesheet.css
===================================================================
--- typo3/stylesheet.css (revision 5064)
+++ typo3/stylesheet.css (working copy)
@@ -1805,7 +1805,17 @@
text-align: center;
line-height: 16px;
float: left;
+ font-weight: bold;
}
+table.typo3-dblist tr td .typo3-DBctrl .typo3-ctrl-versioning-multipleVersions {
+ background-color: #FFFF00;
+}
+table.typo3-dblist tr td .typo3-DBctrl .typo3-ctrl-versioning-oneVersion {
+ background-color: #9999cc;
+}
+table.typo3-dblist tr td .typo3-DBctrl .typo3-ctrl-versioning-hidden {
+ visibility: hidden;
+}
table.typo3-dblist tr td div.typo3-clipCtrl img,
table.typo3-dblist tr td div.typo3-DBctrl img {
Index: typo3/class.db_list_extra.inc
===================================================================
--- typo3/class.db_list_extra.inc (revision 5064)
+++ typo3/class.db_list_extra.inc (working copy)
@@ -970,18 +970,18 @@
$vers = t3lib_BEfunc::selectVersionsOfRecord($table, $row['uid'], 'uid', $GLOBALS['BE_USER']->workspace);
if (is_array($vers)) { // If table can be versionized.
if (count($vers)>1) {
- $st = 'background-color: #FFFF00; font-weight: bold;';
+ $class = 'typo3-ctrl-versioning-multipleVersions';
$lab = count($vers)-1;
} else {
- $st = 'background-color: #9999cc; font-weight: bold;';
+ $class = 'typo3-ctrl-versioning-oneVersion';
$lab = 'V';
}
- $cells['version']=''.
+ $cells['version']=''.
$lab.
'';
} elseif(!$this->table) {
- $cells['version'] = 'V';
+ $cells['version'] = 'V';
}
}