diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 56266497..0e8419d0 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -14,7 +14,7 @@ %> - + <% if Rails.configuration.google_analytics %> @@ -28,8 +28,9 @@ <% end %> - <%= t("bigbluebutton") %> - " /> + <%= (yield(:page_title) + " - ") if content_for?(:page_title) + t("bigbluebutton") %> + + " /> " /> diff --git a/app/views/rooms/components/_room_event.html.erb b/app/views/rooms/components/_room_event.html.erb index bba7748c..4b97b6ed 100644 --- a/app/views/rooms/components/_room_event.html.erb +++ b/app/views/rooms/components/_room_event.html.erb @@ -13,6 +13,8 @@ # with BigBlueButton; if not, see . %> +<% content_for :page_title do %><%= @room.name %><% end %> +
" join-name="<%= @join_name %>">
diff --git a/app/views/rooms/show.html.erb b/app/views/rooms/show.html.erb index 2887b6f6..505c90e8 100644 --- a/app/views/rooms/show.html.erb +++ b/app/views/rooms/show.html.erb @@ -13,6 +13,8 @@ # with BigBlueButton; if not, see . %> +<% content_for :page_title do %><%= @room.name %><% end %> + <% exceeds_limit = current_room_exceeds_limit(@room)%> <% if exceeds_limit%>