diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-10 23:21:01 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-10 23:21:01 +0100 |
commit | d551e43a9bc35b4785285e78f5ecd3157636b447 (patch) | |
tree | eaad4c1b952b95dad00136b785c85d0e18d905b7 /app/views | |
parent | 8cca6bc58c1d5b42e5acdce294ddbe048f0c5e85 (diff) |
Improve public tag page
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/tags/show.html.haml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml index 412ec4fa5..32a50e158 100644 --- a/app/views/tags/show.html.haml +++ b/app/views/tags/show.html.haml @@ -1,10 +1,18 @@ +- content_for :page_title do + = "##{@tag.name}" + +.compact-header + %h1< + = link_to 'Mastodon', root_path + %small= "##{@tag.name}" + - if @statuses.empty? .accounts-grid = render partial: 'accounts/nothing_here' - else .activity-stream.h-feed - = render partial: 'stream_entries/status', collection: @statuses, as: :status, cached: true + = render partial: 'stream_entries/status', collection: @statuses, as: :status -.pagination - - if @statuses.size == 20 +- if @statuses.size == 20 + .pagination = link_to safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '), tag_url(@tag, max_id: @statuses.last.id), class: 'next_page', rel: 'next' |