From b0c50310011eaafd55956ddea4b2d37b3556fc7e Mon Sep 17 00:00:00 2001 From: rr- Date: Sun, 2 Oct 2016 17:04:56 +0200 Subject: [PATCH] client+server/posts: reverse next/prev post role In the post list, when we navigate to the page with ">" button, we navigate to older posts. In the post view, when we navigate to the page with ">" button, we navigate to older posts as well. However, in the post list, the ">" button is called "next page". At the same time, in the post view, the ">" button was called "previous post". Now it's called "next post". The difference isn't visible to normal users nor even API consumers as the "get posts around post X" request isn't documented. The change is motivated not only by consistency, but to also improve compatibility with Vimperator's `[[` and `]]`. Vimperator assumes the word "next" refers to ">" and the word "previous" refers to "<". --- client/html/post.tpl | 30 ++++++++++++------------ client/js/controllers/post_controller.js | 2 +- client/js/views/post_view.js | 8 +++---- server/szurubooru/search/executor.py | 12 +++++----- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/client/html/post.tpl b/client/html/post.tpl index a1f7518..07ade0b 100644 --- a/client/html/post.tpl +++ b/client/html/post.tpl @@ -1,20 +1,6 @@