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