Skip to content

Commit

Permalink
Revert "Enhance Room OpenGraph Metadata (#1601)" (#1852)
Browse files Browse the repository at this point in the history
This reverts commit 3b007c2.
  • Loading branch information
farhatahmad authored Jun 29, 2020
1 parent 3b007c2 commit 94ecf7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 3 additions & 4 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%>

<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#">
<html>
<head>
<% if Rails.configuration.google_analytics %>
<!-- Global site tag (gtag.js) - Google Analytics -->
Expand All @@ -28,9 +28,8 @@
</script>
<% end %>

<title><%= (yield(:page_title) + " - ") if content_for?(:page_title) + t("bigbluebutton") %></title>

<meta property="og:title" content="<%= (yield(:page_title) + " - ") if content_for?(:page_title) + t("bigbluebutton", locale: :en) %>" />
<title><%= t("bigbluebutton") %></title>
<meta property="og:title" content="<%= t("bigbluebutton", locale: :en) %>" />
<meta property="og:type" content="website" />
<meta property="og:description" content="<%= t("landing.about", href: "Greenlight", locale: :en) %>" />
<meta property="og:url" content="<%= request.base_url %>" />
Expand Down
2 changes: 0 additions & 2 deletions app/views/rooms/components/_room_event.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
%>

<% content_for :page_title do %><%= @room.name %><% end %>

<div class="background pb-9" room="<%= @room.uid %>" user="<%= current_user ? current_user.uid : "anonymous" %>" join-name="<%= @join_name %>">
<div class="container">
<div class="row pt-9">
Expand Down
2 changes: 0 additions & 2 deletions app/views/rooms/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
%>

<% content_for :page_title do %><%= @room.name %><% end %>

<% exceeds_limit = current_room_exceeds_limit(@room)%>
<% if exceeds_limit%>
<div class="alert alert-danger alert-dismissible text-center mb-0">
Expand Down

0 comments on commit 94ecf7a

Please sign in to comment.