forked from External/greenlight
Enhance Room OpenGraph Metadata (#1601)
This commit is contained in:
parent
2e4010aed8
commit
3b007c233a
|
@ -14,7 +14,7 @@
|
|||
%>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html prefix="og: http://ogp.me/ns#">
|
||||
<head>
|
||||
<% if Rails.configuration.google_analytics %>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
|
@ -28,8 +28,9 @@
|
|||
</script>
|
||||
<% end %>
|
||||
|
||||
<title><%= t("bigbluebutton") %></title>
|
||||
<meta property="og:title" content="<%= t("bigbluebutton", locale: :en) %>" />
|
||||
<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) %>" />
|
||||
<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,6 +13,8 @@
|
|||
# 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,6 +13,8 @@
|
|||
# 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">
|
||||
|
|
Loading…
Reference in New Issue