2022-08-14 05:44:57 +00:00
|
|
|
package config
|
|
|
|
|
2022-08-31 05:13:57 +00:00
|
|
|
// Number of page buttons to show on a pager. Default shows page buttons
|
|
|
|
// 1 thru N (e.g., 1 thru 8) or w/ your page number in the middle surrounded
|
|
|
|
// by its neighboring pages.
|
|
|
|
const (
|
|
|
|
PagerButtonLimit = 6 // only even numbers make a difference
|
|
|
|
)
|
|
|
|
|
2022-08-14 05:44:57 +00:00
|
|
|
// Pagination sizes per page.
|
|
|
|
var (
|
2022-08-25 04:17:34 +00:00
|
|
|
PageSizeMemberSearch = 60
|
|
|
|
PageSizeFriends = 12
|
|
|
|
PageSizeBlockList = 12
|
2022-09-08 04:18:54 +00:00
|
|
|
PageSizePrivatePhotoGrantees = 12
|
2022-08-25 04:17:34 +00:00
|
|
|
PageSizeAdminCertification = 20
|
|
|
|
PageSizeAdminFeedback = 20
|
2023-09-16 20:46:26 +00:00
|
|
|
PageSizeAdminFeedbackNotesPage = 5 // feedback on User Notes page
|
|
|
|
PageSizeAdminUserNotes = 10 // other users' notes
|
2022-08-27 03:04:48 +00:00
|
|
|
PageSizeSiteGallery = 16
|
|
|
|
PageSizeUserGallery = 16
|
2022-08-25 04:17:34 +00:00
|
|
|
PageSizeInboxList = 20 // sidebar list
|
2022-12-21 05:11:43 +00:00
|
|
|
PageSizeInboxThread = 10 // conversation view
|
2022-08-25 04:17:34 +00:00
|
|
|
PageSizeForums = 100 // TODO: for main category index view
|
|
|
|
PageSizeThreadList = 20 // 20 threads per board, 20 posts per thread
|
|
|
|
PageSizeForumAdmin = 20
|
|
|
|
PageSizeDashboardNotifications = 50
|
2023-09-14 04:28:38 +00:00
|
|
|
PageSizeLikeList = 12 // number of likes to show in popup modal
|
2022-08-14 05:44:57 +00:00
|
|
|
)
|