[CLEANUP] belog: LogEntries Partial 41/50141/3
authorDaniel Windloff <daniel.jc.windloff@googlemail.com>
Sat, 8 Oct 2016 19:48:05 +0000 (21:48 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 9 Oct 2016 11:29:09 +0000 (13:29 +0200)
Removed attributes / elements:
* valign attribute (not supported in HTML5)
* empty th/th elements with "spacer" span
* strong in th (dupclicate markup)

Resolves: #78201
Releases: master
Change-Id: I09ed02206389ddca5bd5ddc9c38bd35aa20cdeb1
Reviewed-on: https://review.typo3.org/50141
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tomasz Stępniak <stempl88@gmail.com>
Tested-by: Tomasz Stępniak <stempl88@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/belog/Resources/Private/Partials/Content/LogEntries.html

index 5f6edd0..0faf5e6 100644 (file)
                        <table class="table table-striped table-hover">
                                <thead>
                                        <tr>
-                                               <th valign="top">
-                                                       <strong>
-                                                               <f:translate key="chLog_l_error" />
-                                                       </strong>
+                                               <th>
+                                                       <f:translate key="chLog_l_error" />
                                                </th>
-                                               <th><span style="width: 10px; height: 1px; display: inline-block"></span></th>
-                                               <th valign="top">
-                                                       <strong>
-                                                               <f:translate key="chLog_l_time" />
-                                                       </strong>
+                                               <th>
+                                                       <f:translate key="chLog_l_time" />
                                                </th>
-                                               <th><span style="width: 10px; height: 1px; display: inline-block"></span></th>
-                                               <th valign="top" colspan="2">
-                                                       <strong>
-                                                               <f:translate key="chLog_l_user" />
-                                                       </strong>
+                                               <th colspan="2">
+                                                       <f:translate key="chLog_l_user" />
                                                </th>
-                                               <th><span style="width: 10px; height: 1px; display: inline-block"></span></th>
-                                               <th valign="top">
-                                                       <strong>
-                                                               <f:if condition="{constraint.isInPageContext}">
-                                                                       <f:then>
-                                                                               <f:translate key="chLog_l_table" />
-                                                                       </f:then>
-                                                                       <f:else>
-                                                                               <f:translate key="chLog_l_types" />
-                                                                       </f:else>
-                                                               </f:if>
-                                                       </strong>
+                                               <th>
+                                                       <f:if condition="{constraint.isInPageContext}">
+                                                               <f:then>
+                                                                       <f:translate key="chLog_l_table" />
+                                                               </f:then>
+                                                               <f:else>
+                                                                       <f:translate key="chLog_l_types" />
+                                                               </f:else>
+                                                       </f:if>
                                                </th>
-                                               <th><span style="width: 10px; height: 1px; display: inline-block"></span></th>
-                                               <th valign="top">
-                                                       <strong>
-                                                               <f:translate key="chLog_l_action" />
-                                                       </strong>
+                                               <th>
+                                                       <f:translate key="chLog_l_action" />
                                                </th>
-                                               <th><span style="width: 10px; height: 1px; display: inline-block"></span></th>
-                                               <th valign="top">
-                                                       <strong>
-                                                               <f:translate key="chLog_l_details" />
-                                                       </strong>
+                                               <th>
+                                                       <f:translate key="chLog_l_details" />
                                                </th>
-                                               <th><span style="width: 10px; height: 1px; display: inline-block"></span></th>
                                        </tr>
                                </thead>
                                <tbody>
                                        <f:for each="{day}" as="logItem">
                                                <tr>
-                                                       <td valign="top">
+                                                       <td>
                                                                <belog:ErrorIcon errorNumber="{logItem.error}" />
                                                        </td>
-                                                       <td><span style="width: 10px; height: 1px; display: inline-block"></span></td>
-
-                                                       <td valign="top">
+                                                       <td>
                                                                <f:format.date format="H:i:s">@{logItem.tstamp}</f:format.date>
                                                        </td>
-                                                       <td><span style="width: 10px; height: 1px; display: inline-block"></span></td>
-
-                                                       <td class="col-icon" valign="top">
+                                                       <td class="col-icon">
                                                                <f:if condition="{belog:username(uid:logItem.backendUserUid)}">
                                                                        <be:avatar backendUser="{logItem.backendUserUid}" showIcon="true" />
                                                                </f:if>
                                                        </td>
-                                                       <td valign="top">
+                                                       <td>
                                                                <f:if condition="{belog:username(uid:logItem.backendUserUid)}">
                                                                        <f:then><belog:username uid="{logItem.backendUserUid}" /></f:then>
                                                                        <f:else>[{logItem.backendUserUid}]</f:else>
                                                                        </f:if>
                                                                </span>
                                                        </td>
-                                                       <td><span style="width: 10px; height: 1px; display: inline-block"></span></td>
-
-                                                       <td valign="top">
+                                                       <td>
                                                                <f:if condition="{constraint.isInPageContext}">
                                                                        <f:then>
                                                                                {logItem.tableName}
                                                                        </f:else>
                                                                </f:if>
                                                        </td>
-                                                       <td><span style="width: 10px; height: 1px; display: inline-block"></span></td>
-
-                                                       <td valign="top">
+                                                       <td>
                                                                <f:if condition="{f:translate(key:'action_{logItem.type}_{logItem.action}')}">
                                                                        <f:then>
                                                                                <f:translate key="action_{logItem.type}_{logItem.action}" />
                                                                        </f:else>
                                                                </f:if>
                                                        </td>
-                                                       <td><span style="width: 10px; height: 1px; display: inline-block"></span></td>
-
-                                                       <td valign="top">
+                                                       <td>
                                                                <belog:formatDetails logEntry="{logItem}" />
                                                                <belog:historyEntry uid="{logItem.uid}" />
                                                                <f:if condition="{logItem.detailsNumber} > 0">
                                                                        (msg#{logItem.type}.{logItem.action}.{logItem.detailsNumber})
                                                                </f:if>
                                                        </td>
-                                                       <td><span style="width: 10px; height: 1px; display: inline-block"></span></td>
                                                </tr>
                                        </f:for>
                                </tbody>