<% # BigBlueButton open source conferencing system - http://www.bigbluebutton.org/. # Copyright (c) 2018 BigBlueButton Inc. and by respective authors (see below). # This program is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free Software # Foundation; either version 3.0 of the License, or (at your option) any later # version. # # BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. # You should have received a copy of the GNU Lesser General Public License along # with BigBlueButton; if not, see . %>
<% if current_user.image.blank? %> <%= current_user.name.first %> <% else %> <%= image_tag(current_user.image, class: "avatar avatar-xxxl card-profile-img") %> <% end %>

<%= current_user.name %>

<%= link_to edit_user_path(current_user), class: "btn btn-outline-primary mt-2" do %> <%= t("room.no_room.edit_profile") %> <% end %>

<%= t("room.no_room.title") %>

<%= t("room.no_room.description") %>

<%= form_for(:join_room, url: join_room_path) do |f| %>
<%= f.text_field :url, class: "form-control", value: "", placeholder: t("room.no_room.placeholder"), required: "" %>
<%= f.submit t("room.no_room.go_to"), class:"btn btn-primary btn-block" %>
<% end %>

  • <%= t("room.no_room.recent_rooms") %>
  • <% @recent_rooms.each do |room| %> <%= link_to room_path(room), class: "list-group-item list-group-item-action dropdown-item" do %> <%= room.owner.name + " " + room.name %> <% end %> <% end %> <% if @recent_rooms.count == 0 %>
  • <%= t("room.no_room.no_recent_rooms") %>
  • <% end %>