about summary refs log tree commit diff
path: root/app/views/tags/show.html.haml
blob: 32a50e1586234145ac663a4bd6e8702e47de2e13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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

- 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'