[TASK] Remove dispensable headlines in EXT: beuser 63/23163/2
authorFelix Kopp <felix-source@phorax.com>
Sat, 17 Aug 2013 20:40:47 +0000 (22:40 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 18 Aug 2013 09:24:51 +0000 (11:24 +0200)
The amount of headline in backend user module can be reduced.
There is one headline for one view in Backend User Management.

Change-Id: If6b58b0ac2a09ecc9020714dba01448b6c159cb5
Resolves: #51147
Releases: 6.2
Reviewed-on: https://review.typo3.org/23163
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/beuser/Resources/Private/Layouts/Default.html
typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Compare.html
typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html
typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Online.html

index eb6380e..dafc771 100755 (executable)
@@ -23,7 +23,7 @@
                </div>
                <div id="typo3-docbody">
                        <div id="typo3-inner-docbody">
-                               <h1><f:translate key="backendUserAdministration">Backend User Administration</f:translate></h1>
+                               <f:render section="headline" />
 
                                <f:flashMessages renderMode="div" />
 
index 94f5089..4b8cb89 100755 (executable)
@@ -6,9 +6,11 @@
        <f:link.action action="index"><bu:spriteManagerIcon iconName="actions-view-go-back" /></f:link.action>
 </f:section>
 
-<f:section name="content">
-       <h3><f:translate key="compareBackendUsers">Compare backend users</f:translate></h3>
+<f:section name="headline">
+       <h1><f:translate key="compareBackendUsers">Compare backend users</f:translate></h1>
+</f:section>
 
+<f:section name="content">
        <table border="0" cellpadding="0" cellspacing="0" id="tx_beuser_compare" class="typo3-dblist">
                <tr class="t3-row-header">
                        <td class="label"></td>
index cd204ba..4cd707d 100755 (executable)
@@ -6,6 +6,10 @@
        <a href="#" onclick="window.location.href='alt_doc.php?returnUrl='+T3_THIS_LOCATION+'&edit[be_users][0]=new'; return false;"><bu:spriteManagerIcon iconName="actions-document-new" /></a>
 </f:section>
 
+<f:section name="headline">
+       <h1><f:translate key="backendUserListing">Backend User Listing</f:translate></h1>
+</f:section>
+
 <f:section name="content">
        <f:comment>
                Listing of users on compare list
@@ -47,8 +51,6 @@
                Listing of all users
        </f:comment>
 
-       <h2><f:translate key="backendUserListing">Backend User Listing</f:translate></h2>
-
        <f:if condition="<f:count subject='{backendUsers}' /> > 50">
                <f:then>
                        <f:be.widget.paginate objects="{backendUsers}" as="paginatedBackendUsers" configuration="{itemsPerPage: 50, insertAbove: 1, insertBelow: 1}">
index 1171b7c..3443836 100755 (executable)
@@ -3,12 +3,13 @@
 <f:layout name="Default" />
 
 <f:section name="iconButtons">
-       <f:link.action controller="BackendUser" action="online">{onlineUser.backendUser.realName}</f:link.action>
 </f:section>
 
-<f:section name="content">
-       <h3><f:translate key="activeSessions">Active Sessions</f:translate></h3>
+<f:section name="headline">
+       <h1><f:translate key="activeSessions">Active Sessions</f:translate></h1>
+</f:section>
 
+<f:section name="content">
        <table border="0" cellspacing="0" cellpadding="0" class="typo3-dblist">
                <tr class="t3-row-header">
                        <td>