Your IP : 216.73.216.220


Current Path : /var/www/surf/TYPO3/vendor/typo3/cms-belog/Resources/Private/Partials/Content/
Upload File :
Current File : /var/www/surf/TYPO3/vendor/typo3/cms-belog/Resources/Private/Partials/Content/LogEntries.html

<html
    xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
    xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
    xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
    xmlns:belog="http://typo3.org/ns/TYPO3/CMS/Belog/ViewHelpers"
    data-namespace-typo3-fluid="true">

<f:for each="{groupedLogEntries}" as="pidEntry" key="pid">
    <f:for each="{pidEntry}" as="day" key="dayTimestamp">
        <h3>
            <f:format.date format="{settings.dateFormat}">@{dayTimestamp}</f:format.date>
        </h3>

        <div class="table-fit">
            <table class="table table-striped table-hover">
                <thead>
                    <tr>
                        <th></th>
                        <th><f:translate key="chLog_l_time"/></th>
                        <th colspan="2"><f:translate key="chLog_l_user"/></th>
                        <th>
                            <f:if condition="{pageId}">
                                <f:then>
                                    <f:translate key="chLog_l_table"/>
                                </f:then>
                                <f:else>
                                    <f:translate key="chLog_l_level"/>
                                </f:else>
                            </f:if>
                        </th>
                        <th><f:translate key="chLog_l_channel"/></th>
                        <th><f:translate key="chLog_l_details"/></th>
                        <th class="col-control"></th>
                    </tr>
                </thead>
                <tbody>
                    <f:for each="{day}" as="logItem">
                        <tr>
                            <td class="col-icon">
                                <f:if condition="{logItem.errorIconClass}">
                                    <core:icon identifier="{logItem.errorIconClass}" />
                                </f:if>
                            </td>
                            <td class="col-time">
                                <f:format.date format="H:i:s">@{logItem.tstamp}</f:format.date>
                            </td>
                            <td class="col-avatar">
                                <f:if condition="{belog:username(uid:logItem.backendUserUid)}">
                                    <be:avatar backendUser="{logItem.backendUserUid}" showIcon="true"/>
                                </f:if>
                            </td>
                            <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>
                                <f:if condition="{logItem.logData.originalUser}">
                                    ({f:translate(key:'viaUser')}
                                    <f:if condition="{belog:username(uid:logItem.logData.originalUser)}">
                                        <f:then>
                                            <belog:username uid="{logItem.logData.originalUser}"/>
                                        </f:then>
                                        <f:else>[{logItem.logData.originalUser}]</f:else>
                                    </f:if>
                                    )
                                </f:if>
                                <f:if condition="{workspaces}">
                                    <br>
                                    <span class="text-body-secondary">
                                        <f:if condition="{belog:workspaceTitle(uid:logItem.workspaceUid)}">
                                            <f:then><belog:workspaceTitle uid="{logItem.workspaceUid}"/></f:then>
                                            <f:else>[{logItem.workspaceUid}]</f:else>
                                        </f:if>
                                    </span>
                                </f:if>
                            </td>
                            <td>
                                <f:if condition="{pageId}">
                                    <f:then>
                                        {logItem.tableName}
                                    </f:then>
                                    <f:else>
                                        {logItem.level}
                                    </f:else>
                                </f:if>
                            </td>
                            <td>
                                {logItem.channel}
                            </td>
                            <td class="col-word-break">
                                <belog:formatDetails logEntry="{logItem}"/>
                            </td>
                            <td class="col-control">
                                <f:if condition="{logItem.error} == 1">
                                    <f:link.action action="deleteMessage" arguments="{errorUid:logItem.uid}" class="btn btn-sm btn-warning">
                                        <core:icon identifier="actions-delete" size="small"/>
                                        <f:translate key="actions.deleteWarnings"/>
                                    </f:link.action>
                                </f:if>
                                <f:if condition="{logItem.error} == 2">
                                    <f:link.action action="deleteMessage" arguments="{errorUid:logItem.uid}" class="btn btn-sm btn-danger">
                                        <core:icon identifier="actions-delete" size="small"/>
                                        <f:translate key="actions.delete"/>
                                    </f:link.action>
                                </f:if>
                                <f:if condition="{logItem.logData.history}">
                                    <a class="btn btn-sm btn-default" href="{be:moduleLink(route: 'record_history', arguments: '{historyEntry: logItem.logData.history}')}" title="{f:translate(key: 'showHistory')}">
                                        <core:icon identifier="actions-document-history-open" />
                                        <f:translate id="showHistory" />
                                    </a>
                                </f:if>
                            </td>
                        </tr>
                    </f:for>
                </tbody>
            </table>
        </div>
    </f:for>
</f:for>

</html>