diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:02:30 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:02:30 +0100 |
commit | 71ae4dd3d2dbafc1ef6e7716c379d01ea194aafe (patch) | |
tree | 024ff59a43fb775105dd9936a094fb206725231e /app/views/accounts/followers.html.haml | |
parent | c349200761bdbf5beac22648da07b0768addc4d6 (diff) |
Adding public following and followers pages, fix #3
Diffstat (limited to 'app/views/accounts/followers.html.haml')
-rw-r--r-- | app/views/accounts/followers.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/accounts/followers.html.haml b/app/views/accounts/followers.html.haml new file mode 100644 index 000000000..75e464957 --- /dev/null +++ b/app/views/accounts/followers.html.haml @@ -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 |