diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-11 21:30:34 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-11 21:30:34 +0200 |
commit | 5f74397ef032948ec3c648cec209fd2a279d4dd1 (patch) | |
tree | 5afd2cc867a07aaa511b3d476c46cfa1e7621faa /app/views | |
parent | b723ee73fc7d74fd5908eb09a8f6b98e73597c2b (diff) | |
parent | 960181fd99cad30f860356a04d8237c19e9c82c8 (diff) |
Merge branch 'blackle-master'
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/home/initial_state.json.rabl | 1 | ||||
-rw-r--r-- | app/views/settings/preferences/show.html.haml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/home/initial_state.json.rabl b/app/views/home/initial_state.json.rabl index 71949ab0e..caee2bfc7 100644 --- a/app/views/home/initial_state.json.rabl +++ b/app/views/home/initial_state.json.rabl @@ -5,6 +5,7 @@ node(:meta) do access_token: @token, locale: I18n.locale, me: current_account.id, + boost_modal: current_account.user.setting_boost_modal, } end diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index 64cf32c3a..e819429b6 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -22,5 +22,8 @@ = ff.input :must_be_follower, as: :boolean, wrapper: :with_label = ff.input :must_be_following, as: :boolean, wrapper: :with_label + .fields-group + = f.input :setting_boost_modal, as: :boolean, wrapper: :with_label + .actions = f.button :button, t('generic.save_changes'), type: :submit |