Make use of `Ui/Empty` in more places in ACP
authorMatthias Schmidt <gravatronics@live.com>
Sat, 13 Mar 2021 12:35:15 +0000 (13:35 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 13 Mar 2021 12:35:15 +0000 (13:35 +0100)
22 files changed:
wcfsetup/install/files/acp/templates/adList.tpl
wcfsetup/install/files/acp/templates/attachmentList.tpl
wcfsetup/install/files/acp/templates/bbcodeList.tpl
wcfsetup/install/files/acp/templates/bbcodeMediaProviderList.tpl
wcfsetup/install/files/acp/templates/boxList.tpl
wcfsetup/install/files/acp/templates/cronjobList.tpl
wcfsetup/install/files/acp/templates/languageList.tpl
wcfsetup/install/files/acp/templates/menuItemList.tpl
wcfsetup/install/files/acp/templates/menuList.tpl
wcfsetup/install/files/acp/templates/noticeList.tpl
wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl
wcfsetup/install/files/acp/templates/pageList.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionList.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionUserList.tpl
wcfsetup/install/files/acp/templates/reactionTypeList.tpl
wcfsetup/install/files/acp/templates/smileyList.tpl
wcfsetup/install/files/acp/templates/trophyList.tpl
wcfsetup/install/files/acp/templates/userGroupList.tpl
wcfsetup/install/files/acp/templates/userOptionCategoryList.tpl
wcfsetup/install/files/acp/templates/userOptionList.tpl
wcfsetup/install/files/acp/templates/userRankList.tpl
wcfsetup/install/files/acp/templates/userTrophyList.tpl

index 38923501c1ed1fb1420a0300ce31a25e87c5a7b6..05d0c92d1565bed2a63f4596b55d35d1947e5ab0 100644 (file)
@@ -37,7 +37,7 @@
 
 {if $objects|count}
        <div class="section sortableListContainer" id="adList">
-               <ol class="sortableList" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
+               <ol class="sortableList jsReloadPageWhenEmpty" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
                        {foreach from=$objects item='ad'}
                                <li class="sortableNode sortableNoNesting jsAd" data-object-id="{@$ad->adID}">
                                        <span class="sortableNodeLabel">
index 3ec640e8830b624f2887518c848de107c3654a9a..748f7f4e0a5e65aa1c60c02c67eeec8b04ea0e01 100644 (file)
@@ -96,7 +96,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=attachment}
                                        <tr class="jsAttachmentRow">
                                                <td class="columnIcon">
index 772660dc8683caabf0a792625e0cf5a8df350e15..884878a8de1dbdd71d48021c26419dffcb900d96 100644 (file)
@@ -39,7 +39,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=bbcode}
                                        <tr class="jsBBCodeRow">
                                                <td class="columnIcon">
index 93bd57ea7fa95ac4e8edf233aa655fb8308e96c1..a78ee5877d456c41ba4af80de78427b0431e4ff8 100644 (file)
@@ -39,7 +39,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item='mediaProvider'}
                                        <tr class="jsMediaProviderRow">
                                                <td class="columnIcon">
index 9f325c97aa3a45a71b9a3e36b97f971b7a614efc..991c029bf5b4e5b6fb47fddd907b960ad03e1f10 100644 (file)
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=box}
                                        <tr class="jsBoxRow">
                                                <td class="columnIcon">
index 4da31508f86d5c07b119ef26e432a418d50f39a9..2591b02e0d6d8e289fc5055af5de8e3afa62b639 100644 (file)
@@ -48,7 +48,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {content}
                                        {foreach from=$objects item=cronjob}
                                                <tr class="jsCronjobRow">
index 9df2e9a21809ff11e87fb31b72b2cb4684bc8b33..03218b9cc38c1a4034ae985efa0718a190fd74a9 100644 (file)
@@ -52,7 +52,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=language}
                                        <tr class="jsLanguageRow">
                                                <td class="columnIcon">
index c71f1a38dbdf96352e32dc7b79273dc97c3c0d94..5158bc86ebe73ef6607e5601b87ec9a62cb9f6e5 100644 (file)
@@ -51,7 +51,7 @@
 
 {hascontent}
        <div id="menuItemList" class="section sortableListContainer">
-               <ol class="sortableList" data-object-id="0">
+               <ol class="sortableList jsReloadPageWhenEmpty" data-object-id="0">
                        {content}
                                {foreach from=$menuItemNodeList item=menuItemNode}
                                        <li class="sortableNode" data-object-id="{@$menuItemNode->itemID}">
index d2d865b12654d75b9c54b050b906c2de4025bcc2..2f638392b5e78bdc6c785425d14f30039a81139f 100644 (file)
@@ -41,7 +41,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=menu}
                                        <tr class="jsMenuRow">
                                                <td class="columnIcon">
index 077949ca519a3c57cd67d1199f06dd8b274c6895..691914b56ea7cd8b376075bf17c41861d949a36f 100644 (file)
@@ -37,7 +37,7 @@
 
 {if $objects|count}
        <div class="section sortableListContainer" id="noticeList">
-               <ol class="sortableList" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
+               <ol class="sortableList jsReloadPageWhenEmpty" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
                        {foreach from=$objects item='notice'}
                                <li class="sortableNode sortableNoNesting jsNotice" data-object-id="{@$notice->noticeID}">
                                        <span class="sortableNodeLabel">
index df6d3cee4b664ddf67c3bc52994741b4196f50f1..37bc8c069cab82e80a86739884d396eb0d085eb3 100644 (file)
@@ -44,7 +44,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=updateServer}
                                        <tr class="jsUpdateServerRow">
                                                <td class="columnIcon">
index c4ef874487229e6e7de782505f565b432d0478c2..d48c85e317673de0371a0bfaa459a2fff4bb0340 100644 (file)
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=page}
                                        <tr class="jsPageRow">
                                                <td class="columnIcon">
index c73a604af3b830b762f5b171be92c474cd699a6d..e3d039b7f520e9e3411eb73860a3916ea3d1ccda 100644 (file)
@@ -42,7 +42,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=subscription}
                                        <tr class="jsPaidSubscriptionRow">
                                                <td class="columnIcon">
index 8bc659f0decb4438952a911d05a03ca736158182..b1e229f09b2cf483b8e75c5a2edf2c73820dfc96 100644 (file)
@@ -81,7 +81,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=subscriptionUser}
                                        <tr class="jsPaidSubscriptionUserRow">
                                                <td class="columnIcon">
index b125202ef0909482909a6be7848e983f8974a1b4..5f388a5e5a1ea819e275991b5e92ba85381dad94 100644 (file)
@@ -39,7 +39,7 @@
 
 {if $objects|count}
        <div id="reactionTypeList" class="sortableListContainer section">
-               <ol class="sortableList" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
+               <ol class="sortableList jsReloadPageWhenEmpty" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
                        {foreach from=$objects item=reactionType}
                                <li class="sortableNode sortableNoNesting reactionTypeRow" data-object-id="{@$reactionType->reactionTypeID}">
                                        <span class="sortableNodeLabel">
index ac9d5421071cb20c9366319da62211e6e1ff5276..3b08a1d9a81d463935af879d9c676fbb87f3e3fe 100644 (file)
@@ -48,7 +48,7 @@
                <div class="tabMenuContent">
                        <section id="smileyList" class="sortableListContainer">
                                {if $objects|count}
-                                       <ol class="sortableList" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
+                                       <ol class="sortableList jsReloadPageWhenEmpty" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
                                                {foreach from=$objects item=smiley}
                                                        <li class="sortableNode sortableNoNesting smileyRow" data-object-id="{@$smiley->smileyID}">
                                                                <span class="sortableNodeLabel">
index b666f6501e98225666f0e6c3c705a944d09239fa..f1e55809323ea3917247dc711233a5208d61285a 100644 (file)
@@ -38,7 +38,7 @@
 
 {if $objects|count}
        <div class="section sortableListContainer" id="trophyList">
-               <ol class="sortableList" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
+               <ol class="sortableList jsReloadPageWhenEmpty" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
                        {foreach from=$objects item='trophy'}
                                <li class="sortableNode sortableNoNesting trophyRow" data-object-id="{@$trophy->trophyID}">
                                        <span class="sortableNodeLabel">
index a1c0383d1f02f5e1fbf12b880209f04c32b2ae46..76e521ce544da314253e8f5252a4c936ae5ce6c8 100644 (file)
@@ -45,7 +45,7 @@
                        </tr>
                </thead>
                
-               <tbody>
+               <tbody class="jsReloadPageWhenEmpty">
                        {foreach from=$objects item=group}
                                <tr id="groupContainer{@$group->groupID}" class="jsUserGroupRow">
                                        <td class="columnIcon">
index 7e818707d5c6dc147eac35da7746f1d04e7a2eb0..79350592fbf514cf48d9b75061c928539cce9e77 100644 (file)
@@ -41,7 +41,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=category}
                                        <tr class="jsCategoryRow">
                                                <td class="columnIcon">
index 57763021f598c59e49ca1f55e852b0c3f139e9e7..c610a71a5438e0b1acfa31dcf0fa9a88d063ee07 100644 (file)
@@ -42,7 +42,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=option}
                                        <tr class="jsOptionRow">
                                                <td class="columnIcon">
index 9f418b423a935773ecbacfa0e20e64cc36b924db..6ef3dba439daa60d4d97e5836156cd65a31bf670 100644 (file)
@@ -58,7 +58,7 @@
                                </tr>
                        </thead>
                        
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                                {foreach from=$objects item=userRank}
                                        <tr class="jsUserRankRow">
                                                <td class="columnIcon">
index 2fb69913f2e19251bdc96dedd297ca75a4c64ac3..e591a4b32bb7627e2276b5a20614f8ac16283a69 100644 (file)
@@ -90,7 +90,7 @@
                        </tr>
                        </thead>
 
-                       <tbody>
+                       <tbody class="jsReloadPageWhenEmpty">
                        {foreach from=$objects item=userTrophy}
                                <tr class="userTrophyRow">
                                        <td class="columnIcon">