-
- Téléchargements
Add support for multiple themes (#4959)
* Add support for selecting a theme * Fix codeclimate issues * Look up site default style if current user is not available due to e.g. not being logged in * Remove outdated comment in common.js * Address requested changes in themes PR * Fix codeclimate issues * Explicitly check current_account in application controller and only check theme availability if non-nil * codeclimate * explicit precedence with && * Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml * codeclimate: indentation + return
parent
4aea3f88
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/controllers/application_controller.rb 6 ajouts, 0 suppressionapp/controllers/application_controller.rb
- app/controllers/settings/preferences_controller.rb 1 ajout, 0 suppressionapp/controllers/settings/preferences_controller.rb
- app/javascript/packs/common.js 0 ajout, 3 suppressionsapp/javascript/packs/common.js
- app/lib/themes.rb 16 ajouts, 0 suppressionapp/lib/themes.rb
- app/lib/user_settings_decorator.rb 5 ajouts, 0 suppressionapp/lib/user_settings_decorator.rb
- app/models/user.rb 4 ajouts, 0 suppressionapp/models/user.rb
- app/views/layouts/application.html.haml 1 ajout, 0 suppressionapp/views/layouts/application.html.haml
- app/views/layouts/embedded.html.haml 1 ajout, 0 suppressionapp/views/layouts/embedded.html.haml
- app/views/settings/preferences/show.html.haml 2 ajouts, 0 suppressionapp/views/settings/preferences/show.html.haml
- config/locales/en.yml 2 ajouts, 0 suppressionconfig/locales/en.yml
- config/locales/simple_form.en.yml 2 ajouts, 0 suppressionconfig/locales/simple_form.en.yml
- config/settings.yml 1 ajout, 0 suppressionconfig/settings.yml
- config/themes.yml 1 ajout, 0 suppressionconfig/themes.yml
- config/webpack/configuration.js 4 ajouts, 0 suppressionconfig/webpack/configuration.js
- config/webpack/shared.js 18 ajouts, 18 suppressionsconfig/webpack/shared.js
app/lib/themes.rb
0 → 100644
config/themes.yml
0 → 100644
Veuillez vous inscrire ou vous se connecter pour commenter