-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Pagination to Releases-page (and de-duplicate pagination templates) #73
Conversation
Current coverage is 2.18% (diff: 0.00%)@@ master #73 diff @@
========================================
Files 31 31
Lines 7508 7510 +2
Methods 0 0
Messages 0 0
Branches 0 0
========================================
Hits 164 164
- Misses 7327 7329 +2
Partials 17 17
|
@@ -75,6 +75,7 @@ | |||
</li> | |||
{{end}} | |||
</ul> | |||
{{template "admin/base/page" .}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An admin pager in the frontend? ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can copy admin/base/page to base/page and fix here since user's pager maybe not the same style with admin pager.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A agree that it is in the wrong place, but it does the right thing 😄
IMO it should be moved to base/pagination.tmpl
and everything should use that. (Pagination should not require customization...)
to reduce code-duplicity
129f646
to
562f9b6
Compare
Current coverage is 2.24% (diff: 0.00%)@@ master #73 diff @@
========================================
Files 32 32
Lines 7521 7523 +2
Methods 0 0
Messages 0 0
Branches 0 0
========================================
Hits 169 169
- Misses 7335 7337 +2
Partials 17 17
|
LGTM |
LGTM (but didn't test visually, just trusting @bkcsoft ) |
See #68