diaspora/app/views/users/privacy_settings.html.haml
Steffen van Bergerem caf7470e8e Various style fixes
2015-03-15 01:58:29 +01:00

51 lines
1.1 KiB
Text

-# Copyright (c) 2010-2011, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
- content_for :page_title do
= t('.title')
.container
.row-fluid
.span12
#section_header
%h2
= t('privacy')
= render 'shared/settings_nav'
.row-fluid
.span3
.span5
%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
= f.label :strip_exif, :class => "checkbox" do
= f.check_box :strip_exif
= t('.strip_exif')
.small-horizontal-spacer
= f.submit t('users.edit.change'), :class => 'btn'
%hr
.row-fluid
.span3
.span5
%h3
= t('.ignored_users')
- if @blocks.length.zero?
= t('.no_user_ignored_message')
- @blocks.each do |block|
= block.person_name
\-
= link_to t('.stop_ignoring'), block_path(block),
:method => :delete
%br
.span3