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

Fix paginations #106

Merged
merged 8 commits into from Feb 26, 2015
Merged

Fix paginations #106

merged 8 commits into from Feb 26, 2015

Conversation

pypingou
Copy link
Member

No description provided.

«
</a>
{% else %}
<a href="{{ url_for('browse_logs') }}?page={{page}}">
<a href="{{ url_for('browse_logs', page=page, project=project,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why even have a back button at all if page <= 1?

Copy link
Member Author

Choose a reason for hiding this comment

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

Looks nicer :-)

@ralphbean
Copy link
Contributor

Fair enough, 👍.

@pypingou
Copy link
Member Author

Instead of keeping redirecting to the same page, I'm thinking I could just disable them keeping the UI clear but dropping the infinite loop

@ralphbean
Copy link
Contributor

👍 after the revisions. Thanks Pierre!

pypingou added a commit that referenced this pull request Feb 26, 2015
@pypingou pypingou merged commit fbd62f6 into master Feb 26, 2015
@pypingou pypingou deleted the fix_pagination branch February 26, 2015 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants