Unverified Commit 94ecf7a2 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Revert "Enhance Room OpenGraph Metadata (#1601)" (#1852)

This reverts commit 3b007c23.
parent 3b007c23
......@@ -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 -->
......@@ -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 %>" />
......
......@@ -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">
......
......@@ -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">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment