mastodon/app/views/tags/show.html.haml

19 lines
533 B
Plaintext
Raw Normal View History

2017-02-10 22:21:01 +00:00
- 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
2017-02-10 22:21:01 +00:00
= render partial: 'stream_entries/status', collection: @statuses, as: :status
2017-02-10 22:21:01 +00:00
- if @statuses.size == 20
.pagination
2016-12-04 15:56:45 +00:00
= link_to safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '), tag_url(@tag, max_id: @statuses.last.id), class: 'next_page', rel: 'next'