[BUGFIX] New EM, Date of last update not visible due to missing
authorsteffenk <info@sk-typo3.de>
Tue, 1 Mar 2011 14:07:05 +0000 (15:07 +0100)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 22 Mar 2011 10:53:53 +0000 (11:53 +0100)
In small views the text is not readable as it gets cut.
Solution:
Add the same text to a tooltip.

Change-Id: Iec4ed75a5a6786b0d837fa4ddb48870e6477ff61
Resolves: #M17788
Reviewed-on: http://review.typo3.org/1230
Reviewed-by: Steffen Kamper <info@sk-typo3.de>
Tested-by: Steffen Kamper <info@sk-typo3.de>
typo3/sysext/em/res/js/em_layouts.js

index 4a5c105..a19201b 100644 (file)
@@ -124,9 +124,11 @@ TYPO3.EM.Layouts = {
        },
        repositoryInfo: function() {
                return new Ext.XTemplate(
-                       '<span class="typo3-message message-notice" style="padding-right: 50px;">',
+                       '<span class="typo3-message message-notice" ',
+                       'qtip="{updated:this.updatedFormat}<br>' + TYPO3.lang.extensions_repository_short + ' {count}">',
                        '{updated:this.updatedFormat}&nbsp;&nbsp;',
-                       TYPO3.lang.extensions_repository_short + ' {count}</span>',
+                       TYPO3.lang.extensions_repository_short + ' {count}',
+                       '</span>',
                        {
                                updatedFormat: function(value) {
                                        return TYPO3.lang.ext_list_last_updated.replace('%s', value).replace('(', '').replace(')', '');