Skip to content
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

Limit pagination include to index. Fix pagination calc #7

Merged
merged 1 commit into from
Mar 14, 2016

Conversation

pharman
Copy link
Contributor

@pharman pharman commented Mar 3, 2016

Made a mistake about the pagination sorry. Must have been having a blonde moment

@pharman
Copy link
Contributor Author

pharman commented Mar 3, 2016

I was trying to allow the pagination block to be overridden but it's a bit tricky as the inheritance is the wrong way around.

@llewellynthomas
Copy link
Contributor

@pkraeutli could you please have a look at this pull request. Thanks

@@ -81,6 +81,11 @@
{% endfor %}
</tbody>
</table>

{% block armb_pagination %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this in a block?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to allow it to be overridden, not particularly useful any more though. We have tried to keep changes backward compatible

pkraeutli added a commit that referenced this pull request Mar 14, 2016
Limit pagination include to index. Fix pagination calc
@pkraeutli pkraeutli merged commit 02ce121 into origammi:master Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants