diaspora/app/views/users/_privacy_settings.haml

35 lines
942 B
Text

= render 'shared/settings_nav'
.container-fluid
.row
.col-lg-8.col-lg-offset-2
.row
.col-md-12
%h3
= t('.title')
= form_for current_user, url: user_path, html: { method: :put } do |f|
= f.error_messages
= f.fields_for :stream_preferences do |type|
#stream_prefs.checkbox
= f.label :strip_exif do
= f.check_box :strip_exif
= t('.strip_exif')
= f.submit t('users.edit.change'), class: 'btn btn-primary pull-right'
%hr
.row
.col-md-12
%h3
= t('.ignored_users')
- if @blocks.length.zero?
%p
= t('.no_user_ignored_message')
- @blocks.each do |block|
= block.person_name
\-
= link_to t('.stop_ignoring'), block_path(block),
method: :delete