Public profile endorsements (accounts picked by profile owner) (#8146)

This commit is contained in:
Eugen Rochko
2018-08-09 09:56:53 +02:00
committed by GitHub
parent 80176a3814
commit f2404de871
21 changed files with 298 additions and 6 deletions

View File

@ -55,4 +55,12 @@
= render 'moved', account: @account
= render 'bio', account: @account
- unless @endorsed_accounts.empty?
.endorsements-widget
%h4= t 'accounts.choices_html', name: content_tag(:bdi, display_name(@account, custom_emojify: true))
- @endorsed_accounts.each do |account|
= account_link_to account
= render 'application/sidebar'