From 3dc850e3d4080366a6e8bff015701a68ce418dd0 Mon Sep 17 00:00:00 2001 From: Anton Batenev Date: Sat, 6 Jul 2013 18:57:08 +0400 Subject: [PATCH] Add "Next page" link to plain topic view "Next page" link also under noscript tag and not indexed by old crawlers. --- app/views/topics/plain.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/topics/plain.html.erb b/app/views/topics/plain.html.erb index 79e02f2c987..c370db3a5aa 100644 --- a/app/views/topics/plain.html.erb +++ b/app/views/topics/plain.html.erb @@ -16,4 +16,9 @@
<% end %> <% end %> +<% if @topic_view.next_page %> +

+ <%= link_to(t('next_page').html_safe, @topic_view.next_page_path ) %> +

+<% end %>