Adding public following and followers pages, fix #3
This commit is contained in:
14
app/views/accounts/followers.html.haml
Normal file
14
app/views/accounts/followers.html.haml
Normal file
@ -0,0 +1,14 @@
|
||||
- content_for :page_title do
|
||||
People who follow
|
||||
= display_name(@account)
|
||||
|
||||
= render partial: 'header'
|
||||
|
||||
.accounts-grid
|
||||
- @followers.each do |f|
|
||||
= render partial: 'grid_card', locals: { account: f }
|
||||
|
||||
- if @followers.empty?
|
||||
= render partial: 'nothing_here'
|
||||
|
||||
= will_paginate @followers, pagination_options
|
Reference in New Issue
Block a user