diff options
author | David Yip <yipdw@member.fsf.org> | 2017-12-04 11:35:35 -0600 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-12-04 11:35:35 -0600 |
commit | a807e3b71bcc052d4b0859dd42739b4ae7def098 (patch) | |
tree | 4c65a22e4d337e9e1959cd64867a47a4353c8108 /app/views | |
parent | d9800a5647cbc57db7679094b2271f8eb5ec328b (diff) |
current_theme -> current_flavour (#229)
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/settings/preferences/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index 40589fbec..9564c0399 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -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 |