Fixed markup of grouped user lists
authorAlexander Ebert <ebert@woltlab.com>
Tue, 9 Aug 2016 10:01:35 +0000 (12:01 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 9 Aug 2016 10:01:53 +0000 (12:01 +0200)
com.woltlab.wcf/templates/groupedUserList.tpl
wcfsetup/install/files/js/WCF.User.js
wcfsetup/install/files/style/layout/content.scss

index 03b3323358b761dd5e2eba3e0aa637a4f2b51fa0..2aa6903bf165699fde734138233e27ba47a74ccd 100644 (file)
@@ -19,7 +19,7 @@
        {/if}
 {/foreach}
 
-<div class="paginationTop jsPagination"></div>
+<div class="paginationBottom jsPagination"></div>
 
 <script data-relocate="true">
        //<![CDATA[
index fe638c29a89173bbcd491337d95389a06b8c525a..fe0c1bcaa819b64ed40578e976ee083e4bc48fb7 100644 (file)
@@ -2512,6 +2512,9 @@ WCF.User.List = Class.extend({
                                        maxPage: this._pageCount
                                }).on('wcfpagesswitched', $.proxy(this._showPage, this));
                        }
+                       else {
+                               this._dialog.find('.jsPagination').hide();
+                       }
                        
                        // show dialog
                        if ($dialogCreated) {
index 4245ca7dfe9c75c55f9b831a6883d6a83389c29f..7f0ff829f6a3ceab3649aabd442ed8459339a7b5 100644 (file)
@@ -356,12 +356,12 @@ fieldset {
        }
 }
 
+.paginationBottom {
+       margin-top: 20px;
+}
+
 .contentFooter {
        @include screen-sm-down {
-               > .paginationBottom {
-                       margin-top: 20px;
-               }
-               
                > .contentFooterNavigation {
                        margin-top: 20px;
                        
@@ -382,7 +382,6 @@ fieldset {
                
                > .paginationBottom {
                        flex: 0 0 auto;
-                       margin-top: 20px;
                }
                
                > .contentFooterNavigation {