Bug #25202 » 20130912_extensionmanager_lastUpdated_alldownloadcounter.patch

Martin Voss, 2013-09-12 16:59

View differences:

typo3/sysext/extensionmanager/Classes/Controller/ListController.php
108 108
     $extensions = $this->extensionRepository->findAll();
109 109
   }
110 110
   $availableAndInstalledExtensions = $this->listUtility->getAvailableAndInstalledExtensionsWithAdditionalInformation();
111
   $availableAndInstalledExtensions = $this->listUtility->enrichExtensionsWithEmConfAndTerInformation($availableAndInstalledExtensions);
111 112
   $this->view->assign('extensions', $extensions)
112 113
       ->assign('search', $search)
113 114
       ->assign('availableAndInstalled', $availableAndInstalledExtensions);
typo3/sysext/extensionmanager/Classes/Utility/ListUtility.php
156 156
         $extensions[$extensionKey]['terObject'] = $terObject;
157 157
         $extensions[$extensionKey]['updateAvailable'] = $this->installUtility->isUpdateAvailable($terObject);
158 158
         $extensions[$extensionKey]['updateToVersion'] = $this->extensionRepository->findHighestAvailableVersion($extensionKey);
159
         $extensions[$extensionKey]['lastUpdated'] = $terObject->getLastUpdated();
160
         $extensions[$extensionKey]['alldownloadcounter'] = $terObject->getAlldownloadcounter();
159 161
       }
160 162
     } else {
161 163
       unset($extensions[$extensionKey]);
typo3/sysext/extensionmanager/Resources/Private/Language/locallang.xlf
147 147
     <trans-unit id="extensionList.header.author" xml:space="preserve">
148 148
       <source>Author</source>
149 149
     </trans-unit>
150
     <trans-unit id="extensionList.header.alldownloadcounter" xml:space="preserve">
151
       <source>Downloads</source>
152
     </trans-unit>
150 153
     <trans-unit id="searchTemplate.searchExtensions" xml:space="preserve">
151 154
       <source>Search extensions</source>
152 155
     </trans-unit>
typo3/sysext/extensionmanager/Resources/Private/Partials/List/TerSingleLine.html
31 31
<td class="state {extension.stateString}">
32 32
 {extension.stateString}
33 33
</td>
34
<td class="lastUpdated">
35
 <f:format.date>{extension.lastUpdated}</f:format.date>
36
</td>
37
<td class="alldownloadcounter">
38
 {extension.alldownloadcounter}
39
</td>
typo3/sysext/extensionmanager/Resources/Private/Partials/List/TerTable.html
7 7
   <th><f:translate key="extensionList.header.version"/></th>
8 8
   <th><f:translate key="extensionList.header.description"/></th>
9 9
   <th><f:translate key="extensionList.header.extensionState"/></th>
10
   <th><f:translate key="extensionList.header.lastUpdate"/></th>
11
   <th><f:translate key="extensionList.header.alldownloadcounter"/></th>
10 12
 </tr>
11 13
</thead>
12 14
<tbody>
typo3/sysext/extensionmanager/Resources/Private/Templates/List/Index.html
34 34
       <th><f:translate key="extensionList.header.extensionVersion"/></th>
35 35
       <th><f:translate key="extensionList.header.extensionActions"/></th>
36 36
       <th><f:translate key="extensionList.header.extensionState"/></th>
37
       <th><f:translate key="extensionList.header.lastUpdate"/></th>
38
       <th><f:translate key="extensionList.header.alldownloadcounter"/></th>
37 39
     </tr>
38 40
   </thead>
39 41
   <tbody>
......
85 87
       <td class="state {extension.state}">
86 88
         {extension.state}
87 89
       </td>
90
       <td class="lastUpdated">
91
         <f:format.date>{extension.lastUpdated}</f:format.date>
92
       </td>
93
       <td class="alldownloadcounter">
94
         {extension.alldownloadcounter}
95
       </td>
88 96
       </tr>
89 97
     </f:for>
90 98
   </tbody>
(1-1/3)