1
0
Fork 0
forked from gitea/nas

Add preference setting for delete toot modal (#3368)

* Set delete_modal preference to true by default
* Does not show confirmation modal if delete_modal is false
* Add ja translation for preference setting page
This commit is contained in:
Atsushi Yamamoto 2017-05-29 11:56:13 -04:00 committed by Eugen Rochko
parent b5e8994844
commit 402c19a924
12 changed files with 46 additions and 10 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,
delete_modal: current_account.user.setting_delete_modal,
auto_play_gif: current_account.user.setting_auto_play_gif,
}
end