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/following.html.haml | |
parent | c349200761bdbf5beac22648da07b0768addc4d6 (diff) |
Adding public following and followers pages, fix #3
Diffstat (limited to 'app/views/accounts/following.html.haml')
-rw-r--r-- | app/views/accounts/following.html.haml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/accounts/following.html.haml b/app/views/accounts/following.html.haml new file mode 100644 index 000000000..6e1ba583c --- /dev/null +++ b/app/views/accounts/following.html.haml @@ -0,0 +1,15 @@ +- content_for :page_title do + People whom + = display_name(@account) + follows + += render partial: 'header' + +.accounts-grid + - @following.each do |f| + = render partial: 'grid_card', locals: { account: f } + + - if @following.empty? + = render partial: 'nothing_here' + += will_paginate @following, pagination_options |