Commit 46c50caa6e9536aa36ff615b9593c2940bb47fa6

Authored by Dmitriy Zaporozhets
1 parent 8de013ea

Show broadcast messages on group, profile and project settings pages

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/views/layouts/group.html.haml
... ... @@ -2,6 +2,7 @@
2 2 %html{ lang: "en"}
3 3 = render "layouts/head", title: group_head_title
4 4 %body{class: "#{app_theme} application", :'data-page' => body_data_page}
  5 + = render "layouts/broadcast"
5 6 = render "layouts/head_panel", title: "group: #{@group.name}"
6 7 = render "layouts/flash"
7 8 %nav.main-nav
... ...
app/views/layouts/profile.html.haml
... ... @@ -2,6 +2,7 @@
2 2 %html{ lang: "en"}
3 3 = render "layouts/head", title: "Profile"
4 4 %body{class: "#{app_theme} profile", :'data-page' => body_data_page}
  5 + = render "layouts/broadcast"
5 6 = render "layouts/head_panel", title: "Profile"
6 7 = render "layouts/flash"
7 8 %nav.main-nav
... ...
app/views/layouts/project_settings.html.haml
... ... @@ -2,6 +2,7 @@
2 2 %html{ lang: "en"}
3 3 = render "layouts/head", title: @project.name_with_namespace
4 4 %body{class: "#{app_theme} project", :'data-page' => body_data_page, :'data-project-id' => @project.id }
  5 + = render "layouts/broadcast"
5 6 = render "layouts/head_panel", title: project_title(@project)
6 7 = render "layouts/init_auto_complete"
7 8 = render "layouts/flash"
... ...