[TASK] EXT: Belog - backend module H1-H4 (html) 49/21049/2
authorFelix Kopp <felix-source@phorax.com>
Sun, 26 May 2013 00:29:35 +0000 (02:29 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 26 May 2013 12:10:55 +0000 (14:10 +0200)
Restructures headlines in EXT: belog backend module to
reflect hierarchy of the content: H1 through H4.

Change-Id: I3d462bbbbc7a79d13da154dca9e393a204e9ae29
Resolves: #48539
Releases: 6.2
Reviewed-on: https://review.typo3.org/21049
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/belog/Resources/Private/Partials/Content/LogEntries.html

index 2af7093..68176ae 100644 (file)
@@ -1,10 +1,10 @@
 {namespace belog=TYPO3\CMS\Belog\ViewHelpers}
 
 <f:if condition="{constraint.groupByPage}">
-       <div class="divider">
-               <h3>
+       <div>
+               <h2>
                        <f:translate key="overview" />
-               </h3>
+               </h2>
                <f:translate
                        key="timeInfo"
                        arguments="{
                                1: '{f:format.date(format:\'{settings.dateFormat} H:i\', date:\'@{constraint.endTimestamp}\')}'
                        }"
                />
-               <br />
-               <f:for each="{groupedLogEntries}" as="pidEntry" key="pid">
-                       <f:if condition="{pid} > 0">
-                               <br />
-                               <f:translate
-                                       key="pagenameWithUID"
-                                       arguments="{
-                                               0: '{belog:be.pagePath(pid:\'{pid}\')}',
-                                               1: '{pid}'
-                                       }"
-                               />
-                       </f:if>
-               </f:for>
+               <p>
+                       <f:for each="{groupedLogEntries}" as="pidEntry" key="pid">
+                               <f:if condition="{pid} > 0">
+                                       <br />
+                                       <f:translate
+                                               key="pagenameWithUID"
+                                               arguments="{
+                                                       0: '{belog:be.pagePath(pid:\'{pid}\')}',
+                                                       1: '{pid}'
+                                               }"
+                                       />
+                               </f:if>
+                       </f:for>
+               </p>
        </div>
 </f:if>
 
 <f:for each="{groupedLogEntries}" as="pidEntry" key="pid">
        <div>
-               <div style="padding-top: 10px;"></div>
-               <h3>
+               <h2>
                        <f:if condition="{constraint.groupByPage}">
                                <f:then>
                                        <f:if condition="{pid} < 1">
                                        />
                                </f:else>
                        </f:if>
-               </h3>
+               </h2>
                <f:for each="{pidEntry}" as="day" key="dayTimestamp">
-                       <h4 class="uppercase">
+                       <h3>
                                <f:format.date format="{settings.dateFormat}">@{dayTimestamp}</f:format.date>
-                       </h4>
+                       </h3>
+
                        <table border="0" cellspacing="0" cellpadding="0" class="typo3-dblist">
                                <thead>
                                        <tr>