<commit_before>= render_page_title t('.title')

= content_for :page_menu do
  %ul

    - if can?(:sites, :manage)
      %li{ :class => "#{'selected' if params[:controller] == 'sites'}" }
        = link_to t('.general'), site_path

    - if can?(:spaces, :manage)
      %li{ :class => "#{'selected' if params[:controller] == 'manage' && params[:action] == 'spaces'}" }
        = link_to t('.spaces'), manage_spaces_path

    - if can?(:users, :manage)
      %li{ :class => "#{'selected' if params[:controller] == 'manage' && params[:action] == 'users'}" }
        = link_to t('.users'), manage_users_path

    - if can?(:spam, :manage)
      %li{ :class => "#{'selected' if params[:controller] == 'manage' && params[:action] == 'spam'}" }
        = link_to t('.spam'), manage_spam_path

    - if can?(:manage, BigbluebuttonServer) && can?(:manage, BigbluebuttonRoom)
      - webconf_controllers = ['custom_bigbluebutton_servers', 'custom_bigbluebutton_rooms', 'custom_bigbluebutton_recordings']
      %li{ :class => "#{'selected' if webconf_controllers.include?(params[:controller]) }" }
        = link_to t('.webconf'), bigbluebutton_servers_path
<commit_msg>Give priority to users in the management menu<commit_after>= render_page_title t('.title')

= content_for :page_menu do
  %ul

    - if can?(:sites, :manage)
      %li{ :class => "#{'selected' if params[:controller] == 'sites'}" }
        = link_to t('.general'), site_path

    - if can?(:users, :manage)
      %li{ :class => "#{'selected' if params[:controller] == 'manage' && params[:action] == 'users'}" }
        = link_to t('.users'), manage_users_path

    - if can?(:spaces, :manage)
      %li{ :class => "#{'selected' if params[:controller] == 'manage' && params[:action] == 'spaces'}" }
        = link_to t('.spaces'), manage_spaces_path

    - if can?(:spam, :manage)
      %li{ :class => "#{'selected' if params[:controller] == 'manage' && params[:action] == 'spam'}" }
        = link_to t('.spam'), manage_spam_path

    - if can?(:manage, BigbluebuttonServer) && can?(:manage, BigbluebuttonRoom)
      - webconf_controllers = ['custom_bigbluebutton_servers', 'custom_bigbluebutton_rooms', 'custom_bigbluebutton_recordings']
      %li{ :class => "#{'selected' if webconf_controllers.include?(params[:controller]) }" }
        = link_to t('.webconf'), bigbluebutton_servers_path

{'fraction_non_alphanumeric': 0.19319148936170213, 'fraction_numerical': 0.0, 'mean_word_length': 4.023504273504273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '3845369', 'n_tokens_mistral': 789, 'n_tokens_neox': 753, 'n_words': 163}