.panel= @instance_presenter.site_extended_description.html_safe
.sidebar
- = render partial: 'contact', object: @instance_presenter
+ = render 'contact', contact: @instance_presenter
= render 'links'
.accounts-grid
- if @followers.empty?
- = render partial: 'nothing_here'
+ = render 'nothing_here'
- else
= render partial: 'grid_card', collection: @followers, as: :account, cached: true
.accounts-grid
- if @following.empty?
- = render partial: 'nothing_here'
+ = render 'nothing_here'
- else
= render partial: 'grid_card', collection: @following, as: :account, cached: true
- if @statuses.empty?
.accounts-grid
- = render partial: 'nothing_here'
+ = render 'nothing_here'
- else
.activity-stream
= render partial: 'stream_entries/status', collection: @statuses, as: :status
.follow-prompt
%h2= t('authorize_follow.prompt_html', self: current_account.username)
- = render partial: 'card', locals: { account: @account }
+ = render 'card', account: @account
= form_tag authorize_follow_path, method: :post, class: 'simple_form' do
= hidden_field_tag :acct, @account.acct
<%= raw t('notification_mailer.favourite.body', name: @account.acct) %>
-<%= render partial: 'status', locals: { status: @status } %>
+<%= render 'status', status: @status %>
<%= raw t('notification_mailer.mention.body', name: @status.account.acct) %>
-<%= render partial: 'status', locals: { status: @status } %>
+<%= render 'status', status: @status %>
<%= raw t('notification_mailer.reblog.body', name: @account.acct) %>
-<%= render partial: 'status', locals: { status: @status } %>
+<%= render 'status', status: @status %>
- content_for :page_title do
= t('settings.two_factor_auth')
-= render partial: 'recovery_codes', object: @codes
+= render 'recovery_codes', recovery_codes: @codes
- content_for :page_title do
= t('settings.two_factor_auth')
-= render partial: 'recovery_codes', object: @codes
+= render 'recovery_codes', recovery_codes: @codes
%strong.emojify= display_name(status.account)
= t('stream_entries.reblogged')
- = render partial: centered ? 'stream_entries/detailed_status' : 'stream_entries/simple_status', locals: { status: status.proper }
+ = render (centered ? 'stream_entries/detailed_status' : 'stream_entries/simple_status'), status: status.proper
- if include_threads
= render partial: 'stream_entries/status', collection: @descendants, as: :status, locals: { is_successor: true, parent_id: status.id}
.activity-stream.activity-stream-headless
- = render partial: @type, locals: { @type.to_sym => @stream_entry.activity, centered: true }
+ = render @type, @type.to_sym => @stream_entry.activity, centered: true