<commit_before>.sidenav
  .header
    = t('.menu')
    = image_tag "rnp/site_ico_x_branco.png", size: "28x23", class: "close"

  - if user_signed_in?
    = link_to my_home_path, class: "sidenav-item" do
      = image_tag "rnp/site_ico_home.png", size: "28x19"
      %span= t('.home')
    = link_to spaces_path, class: "sidenav-item" do
      = image_tag "rnp/site_ico_comunidades.png", size: "28x19"
      %span= t('.spaces')
    - if current_user.superuser?
      = link_to main_app.site_path, class: "sidenav-item" do
        = image_tag "rnp/site_ico_gerenciar.png", size: "28x25"
        %span= t('.manage')
    - elsif can?(:users, :manage)
      = link_to main_app.manage_users_path, class: "sidenav-item" do
        = image_tag "rnp/site_ico_gerenciar.png", size: "28x25"
        %span= t('.manage')
    = link_to compatibility_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_compatibilidade.png", size: "28x19"
      %span= t('.compatibility')
    = link_to requirements_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_requisitos.png", size: "28x20"
      %span= t('.requirements')
    = link_to logout_path, class: "sidenav-item" do
      = image_tag "rnp/site_ico_fechar_azul.png", size: "28x19"
      %span= t('.logout')

    - if (sidenav_for_user? || sidenav_for_spaces?) && sidenav_room.present?
      .subheader
        - if sidenav_for_user?
          = t('.my_room')
        - elsif sidenav_for_spaces?
          = t('.space_room')
      - room = sidenav_room
      = link_to invitation_bigbluebutton_room_path(room), class: "sidenav-item open-modal" do
        = image_tag "rnp/site_ico_convite.png", size: "28x19"
        %span= t('.invite')
      = link_to join_bigbluebutton_room_path(room), class: "sidenav-item webconf-join-link" do
        = image_tag "rnp/site_ico_comecar_reuniao.png", size: "28x20"
        %span= t('.start_meeting')
      - recordings_link = sidenav_for_user? ? my_recordings_path : recordings_space_path(@space)
      = link_to recordings_link, class: "sidenav-item" do
        = image_tag "rnp/site_ico_gravacoes.png", size: "28x21"
        %span= t('.recordings')

  - else
    = link_to login_path, class: "sidenav-item" do
      = image_tag "rnp/site_ico_login.png", size: "28x19"
      %span= t('.login')
    = link_to current_site.external_help, class: "sidenav-item" do
      = image_tag "rnp/site_ico_manual.png", size: "28x19"
      %span= t('.user_guide')
    = link_to service_page_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_mais_informacoes.png", size: "28x24"
      %span= t('.service_page')
    = link_to mconf_tec_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_tecnologia.png", size: "28x21"
      %span= t('.mconf_tec')
    = link_to requirements_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_requisitos.png", size: "28x20"
      %span= t('.requirements')
    = link_to compatibility_url, class: "sidenav-item" do<commit_msg>Hide start link in sidenav when the user can't start a conference<commit_after>.sidenav
  .header
    = t('.menu')
    = image_tag "rnp/site_ico_x_branco.png", size: "28x23", class: "close"

  - if user_signed_in?
    = link_to my_home_path, class: "sidenav-item" do
      = image_tag "rnp/site_ico_home.png", size: "28x19"
      %span= t('.home')
    = link_to spaces_path, class: "sidenav-item" do
      = image_tag "rnp/site_ico_comunidades.png", size: "28x19"
      %span= t('.spaces')
    - if current_user.superuser?
      = link_to main_app.site_path, class: "sidenav-item" do
        = image_tag "rnp/site_ico_gerenciar.png", size: "28x25"
        %span= t('.manage')
    - elsif can?(:users, :manage)
      = link_to main_app.manage_users_path, class: "sidenav-item" do
        = image_tag "rnp/site_ico_gerenciar.png", size: "28x25"
        %span= t('.manage')
    = link_to compatibility_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_compatibilidade.png", size: "28x19"
      %span= t('.compatibility')
    = link_to requirements_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_requisitos.png", size: "28x20"
      %span= t('.requirements')
    = link_to logout_path, class: "sidenav-item" do
      = image_tag "rnp/site_ico_fechar_azul.png", size: "28x19"
      %span= t('.logout')

    - if (sidenav_for_user? || sidenav_for_spaces?) && sidenav_room.present?
      .subheader
        - if sidenav_for_user?
          = t('.my_room')
        - elsif sidenav_for_spaces?
          = t('.space_room')

      - room = sidenav_room
      - can_create = can?(:create_meeting, room)

      - if can_create
        = link_to invitation_bigbluebutton_room_path(room), class: "sidenav-item open-modal" do
          = image_tag "rnp/site_ico_convite.png", size: "28x19"
          %span= t('.invite')
        = link_to join_bigbluebutton_room_path(room), class: "sidenav-item webconf-join-link" do
          = image_tag "rnp/site_ico_comecar_reuniao.png", size: "28x20"
          %span= t('.start_meeting')

      - recordings_link = sidenav_for_user? ? my_recordings_path : recordings_space_path(@space)
      = link_to recordings_link, class: "sidenav-item" do
        = image_tag "rnp/site_ico_gravacoes.png", size: "28x21"
        %span= t('.recordings')

  - else
    = link_to login_path, class: "sidenav-item" do
      = image_tag "rnp/site_ico_login.png", size: "28x19"
      %span= t('.login')
    = link_to current_site.external_help, class: "sidenav-item" do
      = image_tag "rnp/site_ico_manual.png", size: "28x19"
      %span= t('.user_guide')
    = link_to service_page_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_mais_informacoes.png", size: "28x24"
      %span= t('.service_page')
    = link_to mconf_tec_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_tecnologia.png", size: "28x21"
      %span= t('.mconf_tec')
    = link_to requirements_url, class: "sidenav-item" do
      = image_tag "rnp/site_ico_requisitos.png", size: "28x20"
      %span= t('.requirements')
    = link_to compatibility_url, class: "sidenav-item" do
{'fraction_non_alphanumeric': 0.1402439024390244, 'fraction_numerical': 0.02109426499670402, 'mean_word_length': 3.2, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2479753', 'n_tokens_mistral': 2417, 'n_tokens_neox': 2320, 'n_words': 427}