diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-01-10 23:04:14 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-01-10 23:04:14 -0600 |
commit | 0f1532aee098049b17ad6b7ecb1d083c856f1d64 (patch) | |
tree | 75629111cd2530dc2cfa66ea2c474e9ed14d1581 /app/views | |
parent | ce72d574879b95bd3da5959062d04037945f292f (diff) |
add option for changing the monsterfork api exposure level, defaulting to `full` - if this gives your app indigestion change it to back to `basic` in preferences
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/settings/preferences/show.html.haml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index fdb5fea3f..babc57470 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -46,9 +46,6 @@ = f.input :setting_boost_interval_from, collection: [1, 2, 3, 4, 5, 6, 10, 15, 30, 60, 120, 180, 300, 360, 720, 1440], wrapper: :with_label, include_blank: false, label_method: lambda { |item| safe_join([t("simple_form.labels.boost_interval.#{item}")]) }, selected: current_user.boost_interval_from = f.input :setting_boost_interval_to, collection: [1, 2, 3, 4, 5, 6, 10, 15, 30, 60, 120, 180, 300, 360, 720, 1440], wrapper: :with_label, include_blank: false, label_method: lambda { |item| safe_join([t("simple_form.labels.boost_interval.#{item}")]) }, selected: current_user.boost_interval_to - - - %hr#settings_other/ .fields-group @@ -71,6 +68,11 @@ %hr/ .fields-group + = f.input :monsterfork_api, collection: [:vanilla, :basic, :full], wrapper: :with_label, include_blank: false, label_method: lambda { |item| safe_join([t("simple_form.labels.monsterfork_api.#{item}")]) }, selected: current_user.monsterfork_api + + %hr/ + + .fields-group = f.input :setting_hide_network, as: :boolean, wrapper: :with_label = f.input :setting_hide_interactions, as: :boolean, wrapper: :with_label = f.input :setting_hide_stats, as: :boolean, wrapper: :with_label |