From d236dcded20b1a561b1f396fbb423811f27c77e5 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 4 Dec 2016 16:56:45 +0100 Subject: Fix public tags page --- app/views/tags/show.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/views/tags/show.html.haml') diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml index bfe5c0439..dd42fe22c 100644 --- a/app/views/tags/show.html.haml +++ b/app/views/tags/show.html.haml @@ -5,4 +5,6 @@ .activity-stream = render partial: 'stream_entries/status', collection: @statuses, as: :status, cached: true -= id_paginate tag_path, 20, @statuses +.pagination + - if @statuses.size == 20 + = link_to safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '), tag_url(@tag, max_id: @statuses.last.id), class: 'next_page', rel: 'next' -- cgit