From: Nguyễn Thái Ngọc Duy Date: Fri, 25 Aug 2006 10:25:29 +0000 (+0700) Subject: Show static 'Pages: 1' if there is only one page (so paginate_links shows nothing) X-Git-Url: https://repo.or.cz/punbbonrails.git/commitdiff_plain/2e6739554d1e8f15109c15961f7f46321a83f320 Show static 'Pages: 1' if there is only one page (so paginate_links shows nothing) --- diff --git a/app/views/search/posts.rhtml b/app/views/search/posts.rhtml index 1da3f59..9e6cb6a 100644 --- a/app/views/search/posts.rhtml +++ b/app/views/search/posts.rhtml @@ -1,6 +1,6 @@
- +
@@ -37,6 +37,6 @@ <% end -%>
- +
diff --git a/app/views/search/topics.rhtml b/app/views/search/topics.rhtml index 292002b..b4c67ca 100644 --- a/app/views/search/topics.rhtml +++ b/app/views/search/topics.rhtml @@ -1,6 +1,6 @@
- +
@@ -42,6 +42,6 @@
- +