<commit_before>{% extends 'portal/base.html' %}
{% load static %}
{% load app_tags %}

{% load compress %}

{% block title %}Code for Life - Rapid Router{% endblock %}

{% block nav_teach %}{% if user|is_logged_in_as_teacher %}<b>[ <a href="{% url 'portal.views.teach' %}">TEACH</a> ]</b>{% else %}{{ block.super }}{% endif %}{% endblock nav_teach %}
{% block nav_play %}{% if user|is_logged_in_as_teacher %}{{ block.super }}{% else %}<b>[ <a href="{% url 'portal.views.play' %}">PLAY</a> ]</b>{% endif %}{% endblock nav_play %}


{% block subNav %}
<div class="subnavBar">
    <div class="subnav">
        <ul>
            <li><img height=40 src="{% static 'game/image/RR-title.png' %}"/>
            <li>{% block nav_ocargo_levels %}<a href="{% url 'game.views.levels' %}">Levels</a>{% endblock nav_ocargo_levels %}</li>
            <li>{% block nav_ocargo_create %}<a href="{% url 'game.views.level_editor' %}">Create</a>{% endblock nav_ocargo_create %}</li>
            <li>{% block nav_ocargo_scoreboard %}<a href="{% url 'game.views.scoreboard' %}">Scoreboard</a>{% endblock nav_ocargo_scoreboard %}</li>
            {% if user|is_logged_in_as_teacher %}<li>{% block nav_ocargo_moderate %}<a href="{% url 'game.views.level_moderation' %}">Moderate</a>{% endblock nav_ocargo_moderate %}</li>{% endif %}
        </ul>
    </div>
</div>
{% endblock subNav %}

{% block content %}{% endblock %}

{% block scripts %}
  {{block.super}}
  <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),<commit_msg>Removed scoreboard subnav link for non-school users in rapidrouter<commit_after>{% extends 'portal/base.html' %}
{% load static %}
{% load app_tags %}

{% load compress %}

{% block title %}Code for Life - Rapid Router{% endblock %}

{% block nav_teach %}{% if user|is_logged_in_as_teacher %}<b>[ <a href="{% url 'portal.views.teach' %}">TEACH</a> ]</b>{% else %}{{ block.super }}{% endif %}{% endblock nav_teach %}
{% block nav_play %}{% if user|is_logged_in_as_teacher %}{{ block.super }}{% else %}<b>[ <a href="{% url 'portal.views.play' %}">PLAY</a> ]</b>{% endif %}{% endblock nav_play %}


{% block subNav %}
<div class="subnavBar">
    <div class="subnav">
        <ul>
            <li><img height=40 src="{% static 'game/image/RR-title.png' %}"/>
            <li>{% block nav_ocargo_levels %}<a href="{% url 'game.views.levels' %}">Levels</a>{% endblock nav_ocargo_levels %}</li>
            <li>{% block nav_ocargo_create %}<a href="{% url 'game.views.level_editor' %}">Create</a>{% endblock nav_ocargo_create %}</li>
            {% if user|is_logged_in_as_school_user %}<li>{% block nav_ocargo_scoreboard %}<a href="{% url 'game.views.scoreboard' %}">Scoreboard</a>{% endblock nav_ocargo_scoreboard %}</li>{% endif %}
            {% if user|is_logged_in_as_teacher %}<li>{% block nav_ocargo_moderate %}<a href="{% url 'game.views.level_moderation' %}">Moderate</a>{% endblock nav_ocargo_moderate %}</li>{% endif %}
        </ul>
    </div>
</div>
{% endblock subNav %}

{% block content %}{% endblock %}

{% block scripts %}
  {{block.super}}
  <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
{'fraction_non_alphanumeric': 0.2293221857270827, 'fraction_numerical': 0.0017915795759928337, 'mean_word_length': 4.4119547657512115, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '3490653', 'n_tokens_mistral': 1367, 'n_tokens_neox': 1240, 'n_words': 256}