<commit_before>{% extends "responsive_base.html" %}

{% load sponsorship_tags %}
{% load thumbnail %}
{% load i18n %}
{% load boxes_tags %}

{% block head_title %}{% trans "PyCon Jobs Fair" %}{% endblock %}

{% block body_class %}job-fair{% endblock %}

{% block page_title %}
    {% trans "PyCon Jobs Fair" %}
    <a href="{% url 'cms_page' "sponsors/prospectus/" %}" class="read-more">
        {% trans "Learn how to become a sponsor " %}
        <i class="icon icon-arrow-right"></i>
    </a>
{% endblock %}

{% block page_content %}
    <div class="container">
    {% sponsor_levels as levels %}
        <div class="span8">
            {% for level in levels %}
                {% if level.sponsors.count > 1 %}
                    <h2>{{ level.name }}</h2>
                    {% for sponsor in level.sponsors %}
                        {% if sponsor.joblisting_text %}
                            <div class="job-post" id="sponsor-{{ sponsor.id }}">
                                <div class="post-content">
                                    <h2>
                                        <a href="{{ sponsor.external_url }}">
                                            <img src="{% thumbnail sponsor.website_logo '150x80' %}" alt="{{ sponsor.name }}" />
                                        </a>
                                    </h2>
                                    <h5>{{ sponsor.name }}</h5>
                                    <p><a href="{{ sponsor.external_url }}">{{ sponsor.get_display_url }}</a></p>
                                    {{ sponsor.joblisting_text|safe }}
                                </div>
                            </div>
                        {% else %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            {% endfor %}
        </div>
        <aside class="span3">
            {% box "sponsor_jobs" %}
        </aside>
    </div>
{% endblock %}
<commit_msg>Fixes #270<commit_after>{% extends "responsive_base.html" %}

{% load sponsorship_tags %}
{% load thumbnail %}
{% load i18n %}
{% load boxes_tags %}

{% block head_title %}{% trans "PyCon Jobs Fair" %}{% endblock %}

{% block extra_head %}
    <script type="text/javascript">
        $(function () {
            var converter = new Attacklab.showdown.converter();
            $('.job-listing').each(function() {
                $(this).html(converter.makeHtml($(this).html()));
            })
        });
    </script>
{% endblock %}


{% block body_class %}job-fair{% endblock %}

{% block page_title %}
    {% trans "PyCon Jobs Fair" %}
    <a href="{% url 'cms_page' "sponsors/prospectus/" %}" class="read-more">
        {% trans "Learn how to become a sponsor " %}
        <i class="icon icon-arrow-right"></i>
    </a>
{% endblock %}

{% block page_content %}
    <div class="container">
    {% sponsor_levels as levels %}
        <div class="span8">
            {% for level in levels %}
                {% if level.sponsors.count > 1 %}
                    <h2>{{ level.name }}</h2>
                    {% for sponsor in level.sponsors %}
                        {% if sponsor.joblisting_text %}
                            <div class="job-post" id="sponsor-{{ sponsor.id }}">
                                <div class="post-content">
                                    <h2>
                                        <a href="{{ sponsor.external_url }}">
                                            <img src="{% thumbnail sponsor.website_logo '150x80' %}" alt="{{ sponsor.name }}" />
                                        </a>
                                    </h2>
                                    <h5>{{ sponsor.name }}</h5>
                                    <p><a href="{{ sponsor.external_url }}">{{ sponsor.get_display_url }}</a></p>
                                    <div class="job-listing">{{ sponsor.joblisting_text|safe }}</div>
                                </div>
                            </div>
                        {% else %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            {% endfor %}
        </div>
        <aside class="span3">
            {% box "sponsor_jobs" %}
        </aside>
    </div>
{% endblock %}

{'fraction_non_alphanumeric': 0.15627189908899788, 'fraction_numerical': 0.00817565989254847, 'mean_word_length': 1.2072164948453608, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 21, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1543081', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1080, 'n_words': 245}