Browse Source

current_theme -> current_flavour (#229)

closed-social-glitch-2
David Yip 7 years ago
parent
commit
a807e3b71b
No known key found for this signature in database GPG Key ID: 7DA0036508FCC0CC
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/settings/preferences/show.html.haml

+ 1
- 1
app/views/settings/preferences/show.html.haml View File

@ -28,7 +28,7 @@
.fields-group
- if Themes.instance.flavours.size > 1
= f.input :setting_flavour, collection: Themes.instance.flavours, label_method: lambda { |flavour| I18n.t("themes.#{flavour}", default: flavour) }, wrapper: :with_label, include_blank: false
= f.input :setting_skin, collection: Themes.instance.skins_for(current_theme), label_method: lambda { |skin| I18n.t("themes.#{current_theme}.skins.#{skin}", default: skin) }, wrapper: :with_label, include_blank: false
= f.input :setting_skin, collection: Themes.instance.skins_for(current_flavour), label_method: lambda { |skin| I18n.t("themes.#{current_flavour}.skins.#{skin}", default: skin) }, wrapper: :with_label, include_blank: false
= f.input :setting_unfollow_modal, as: :boolean, wrapper: :with_label
= f.input :setting_boost_modal, as: :boolean, wrapper: :with_label

Loading…
Cancel
Save