Changeset - ff33bb5cf1e9
[Not reviewed]
default
0 7 0
Mads Kiilerich - 9 years ago 2016-05-23 18:02:33
madski@unity3d.com
datatables: show 100 entries by default

The jQuery DataTables default of 10 is too few ... and 100 is better than the
old YUI default of 25.
7 files changed with 14 insertions and 7 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/my_account/my_account_repos.html
Show inline comments
 
@@ -16,6 +16,7 @@
 
            {data: "last_changeset", "orderData": 3, title: "${_('Tip')}", searchable: false},
 
            {data: "action", title: "${_('Action')}", sortable: false, searchable: false}
 
        ],
 
        order: [[2, "asc"]]
 
        order: [[2, "asc"]],
 
        pageLength: 100
 
    });
 
</script>
kallithea/templates/admin/my_account/my_account_watched.html
Show inline comments
 
@@ -15,6 +15,7 @@
 
            {data: "last_rev_raw", "visible": false, searchable: false},
 
            {data: "last_changeset", "orderData": 3, title: "${_('Tip')}", searchable: false},
 
        ],
 
        order: [[2, "asc"]]
 
        order: [[2, "asc"]],
 
        pageLength: 100
 
    });
 
</script>
kallithea/templates/admin/repo_groups/repo_groups.html
Show inline comments
 
@@ -45,7 +45,8 @@
 
            {data: "owner", title: "${_('Owner')}", searchable: false},
 
            {data: "action", title: "${_('Action')}", sortable: false, searchable: false}
 
        ],
 
        drawCallback: updateRowCountCallback($("#repo_group_count"))
 
        drawCallback: updateRowCountCallback($("#repo_group_count")),
 
        pageLength: 100
 
    });
 

	
 
</script>
kallithea/templates/admin/repos/repos.html
Show inline comments
 
@@ -46,7 +46,8 @@
 
            {data: "state", title: "${_('State')}", searchable: false},
 
            {data: "action", title: "${_('Action')}", sortable: false, searchable: false}
 
        ],
 
        drawCallback: updateRowCountCallback($("#repo_count"))
 
        drawCallback: updateRowCountCallback($("#repo_count")),
 
        pageLength: 100
 
    });
 
</script>
 

	
kallithea/templates/admin/user_groups/user_groups.html
Show inline comments
 
@@ -46,7 +46,8 @@
 
            {data: "owner", title: "${_('Owner')}", searchable: false},
 
            {data: "action", title: "${_('Action')}", searchable: false, sortable: false}
 
        ],
 
        order: [[1, "asc"]]
 
        order: [[1, "asc"]],
 
        pageLength: 100
 
    });
 
</script>
 
</%def>
kallithea/templates/admin/users/users.html
Show inline comments
 
@@ -47,7 +47,8 @@
 
            {data: "action", title: "${_('Action')}", searchable: false, sortable: false}
 
        ],
 
        order: [[1, "asc"]],
 
        drawCallback: updateRowCountCallback($("#user_count"))
 
        drawCallback: updateRowCountCallback($("#user_count")),
 
        pageLength: 100
 
    });
 
</script>
 

	
kallithea/templates/index_base.html
Show inline comments
 
@@ -97,6 +97,7 @@
 
                    {data: "owner", title: "${_('Owner')}", searchable: false},
 
                    {data: "atom", sortable: false}
 
                ],
 
                order: [[1, "asc"]]
 
                order: [[1, "asc"]],
 
                pageLength: 100
 
            });
 
      </script>
0 comments (0 inline, 0 general)