diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-26 20:48:20 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-26 20:48:20 +0100 |
commit | 24646d57690ad36cf4caecab2eec5774bca7f699 (patch) | |
tree | e6118271d38a47edb6b7518ff5dacedb76cbf7f9 /app/views/profile/show.html.haml | |
parent | f16b31f0773c2fd1122ff0ad98cb392e762f0d0b (diff) |
Adding views for the profile and entry pages
Diffstat (limited to 'app/views/profile/show.html.haml')
-rw-r--r-- | app/views/profile/show.html.haml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/views/profile/show.html.haml b/app/views/profile/show.html.haml index dcb5764ec..c84cb7e81 100644 --- a/app/views/profile/show.html.haml +++ b/app/views/profile/show.html.haml @@ -1,2 +1,8 @@ -%h1 Profile#show -%p Find me in app/views/profile/show.html.haml +%div.card + %h1.name + = @account.display_name.blank? ? @account.username : @account.display_name + %small= "@#{@account.username}" + +%div.activity-stream + - @account.statuses.order('id desc').each do |status| + = render partial: 'status', locals: { status: status } |