<commit_before>{% extends "master.html" %}
{% load exchange_portal_tags %}

{% block title %}Utlandsportalen{% endblock %}
{% block content %}
    {% has_perm_exchange_portal request.user as exchange_portal %}
    {% if exchange_portal %}
        {% include "exchange_portal/exchange_portal_header.html" %}

        <h1><a href="/exchange_portal/{{school.in_city.in_country.in_continent.name}}">{{ school.in_city.in_country.in_continent.name|capfirst }}/</a>
            <a href="/exchange_portal/{{ school.in_city.in_country.in_continent.name }}/{{school.in_city.in_country.name}}">{{ school.in_city.in_country.name|capfirst }}</a>
            /{{ school.in_city.name|capfirst }}/{{ school.name|capfirst }} </h1>
        {{ school.in_city.in_country.name|capfirst }}/{{ school.in_city.name|capfirst }}/{{ school.name|capfirst }}
        <div class="button-group">
            <button href="#" class="button button_exchange_portal" id="courses_button"> Kurser </button>
            <button href="#" class="button button_exchange_portal" id="travel_stories_button"> Reseberättelser </button>
        </div>
        <div id="courses_section">
            <i>
                Tidigare utbyte genom universitetet:
                {% if school.exchange_with_liu %}
                    <b>Ja</b>
                {% elif not school.exchange_with_liu %}
                    <b>Nej</b>
                {% endif %}
                <br>
                Tidigare utbyte genom freemover:
                {% if school.freemover %}
                    <b>Ja</b>
                {% elif not school.freemover %}
                    <b>Nej</b>
                {% endif %}
            </i>
            <br>
            <br>
            <h3>Kurser</h3>
            <div>
                <button class="button filter_btn">	<span class="fa fa-times"> </span> Datateknik</button>
            </div>

            {% if course_list %}
                <table  class="courses" id="courses">
                    <thead id="course_table_head">
                    <tr><commit_msg>Removed redundant text in the html.<commit_after>{% extends "master.html" %}
{% load exchange_portal_tags %}

{% block title %}Utlandsportalen{% endblock %}
{% block content %}
    {% has_perm_exchange_portal request.user as exchange_portal %}
    {% if exchange_portal %}
        {% include "exchange_portal/exchange_portal_header.html" %}

        <h1><a href="/exchange_portal/{{school.in_city.in_country.in_continent.name}}">{{ school.in_city.in_country.in_continent.name|capfirst }}/</a>
            <a href="/exchange_portal/{{ school.in_city.in_country.in_continent.name }}/{{school.in_city.in_country.name}}">{{ school.in_city.in_country.name|capfirst }}</a>
            /{{ school.in_city.name|capfirst }}/{{ school.name|capfirst }} </h1>
        <div class="button-group">
            <button href="#" class="button button_exchange_portal" id="courses_button"> Kurser </button>
            <button href="#" class="button button_exchange_portal" id="travel_stories_button"> Reseberättelser </button>
        </div>
        <div id="courses_section">
            <i>
                Tidigare utbyte genom universitetet:
                {% if school.exchange_with_liu %}
                    <b>Ja</b>
                {% elif not school.exchange_with_liu %}
                    <b>Nej</b>
                {% endif %}
                <br>
                Tidigare utbyte genom freemover:
                {% if school.freemover %}
                    <b>Ja</b>
                {% elif not school.freemover %}
                    <b>Nej</b>
                {% endif %}
            </i>
            <br>
            <br>
            <h3>Kurser</h3>
            <div>
                <button class="button filter_btn">	<span class="fa fa-times"> </span> Datateknik</button>
            </div>

            {% if course_list %}
                <table  class="courses" id="courses">
                    <thead id="course_table_head">
                    <tr>
{'fraction_non_alphanumeric': 0.1437125748502994, 'fraction_numerical': 0.001996007984031936, 'mean_word_length': 1.909288824383164, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '6545050', 'n_tokens_mistral': 1302, 'n_tokens_neox': 1193, 'n_words': 205}