Feature #43390 ยป remove-avatars-on-off-classes.patch
| app/helpers/application_helper.rb | ||
|---|---|---|
|
css << 'has-main-menu' if display_main_menu?(@project)
|
||
|
css << 'controller-' + controller_name
|
||
|
css << 'action-' + action_name
|
||
|
css << 'avatars-' + (Setting.gravatar_enabled? ? 'on' : 'off')
|
||
|
if UserPreference::TEXTAREA_FONT_OPTIONS.include?(User.current.pref.textarea_font)
|
||
|
css << "textarea-#{User.current.pref.textarea_font}"
|
||
|
end
|
||