diff --git a/Changelog.md b/Changelog.md index cec94dd94..0d4199887 100644 --- a/Changelog.md +++ b/Changelog.md @@ -96,6 +96,7 @@ This maintenance is not enabled by default. Podmins can enable it by for example * Maintenance feature to automatically expire inactive accounts [#5288](https://github.com/diaspora/diaspora/pull/5288) * Add LibreJS markers to JavaScript [5320](https://github.com/diaspora/diaspora/pull/5320) * Ask for confirmation when leaving a submittable publisher [#5309](https://github.com/diaspora/diaspora/pull/5309) +* Allow page-specific styling via individual CSS classes [#5282](https://github.com/diaspora/diaspora/pull/5282) # 0.4.1.2 diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 7f6a6d9fb..1924d2956 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -52,7 +52,7 @@ = include_gon(:camel_case => true) - %body + %body{ :class => "page-#{controller_name} action-#{action_name}" } = flash_messages = yield :before_content