Merge branch 'pause-gif' of git://github.com/patf/mastodon into patf-pause-gif

This commit is contained in:
Eugen Rochko 2017-04-18 01:25:50 +02:00
commit 57d784f1e4
12 changed files with 65 additions and 28 deletions

View file

@ -9,6 +9,7 @@ node(:meta) do
me: current_account.id,
admin: @admin.try(:id),
boost_modal: current_account.user.setting_boost_modal,
auto_play_gif: current_account.user.setting_auto_play_gif,
}
end

View file

@ -25,5 +25,8 @@
.fields-group
= f.input :setting_boost_modal, as: :boolean, wrapper: :with_label
.fields-group
= f.input :setting_auto_play_gif, as: :boolean, wrapper: :with_label
.actions
= f.button :button, t('generic.save_changes'), type: :submit