<commit_before>{% extends 'base.html' %}
{% load static %}
{% load i18n %}
{% load app_filters %}
{% block title %}{{ event.title }}{% endblock %}

{% block content %}
    <head>
        <link rel="stylesheet" href="{% static 'events/css/detail.css' %}">
        <script src="https://cdnjs.cloudflare.com/ajax/libs/reconnecting-websocket/1.0.0/reconnecting-websocket.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js"></script>
        <script src="{% static 'js/live-attendee-list.js' %}"></script>
        <style>
            .background-img{
                background: url("{% if event.image %}{{ event.image.url }}{% endif %}") no-repeat center center fixed;
                -webkit-background-size: cover;
                -moz-background-size: cover;
                -o-background-size: cover;
                background-size: cover;
            }
        </style>
    </head>
    <div class="background-img">
        <div class="container-md min-vh-100 p-1">
            <div class="container-size" style="margin-top: 13vh">
                <div class="content">
                    <h2 class="header">{{ event.title }}</h2>
                    <h4 class="help-text">{{ event.event_date_start|date:"l d b Y H:i" }}</h4>
                    <p>{{ event.content | safe }}</p>
                </div>
                {% if event.sign_up %}<commit_msg>events: if condition for normal or s3 image background<commit_after>{% extends 'base.html' %}
{% load static %}
{% load i18n %}
{% load app_filters %}
{% block title %}{{ event.title }}{% endblock %}

{% block content %}
    <head>
        <link rel="stylesheet" href="{% static 'events/css/detail.css' %}">
        <script src="https://cdnjs.cloudflare.com/ajax/libs/reconnecting-websocket/1.0.0/reconnecting-websocket.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js"></script>
        <script src="{% static 'js/live-attendee-list.js' %}"></script>
        <style>
            .background-img{
                background: url("{% if event.image %}{{ event.image.url }}{% elif event.s3_image %}{{ event.s3_image.url }}{% endif %}") no-repeat center center fixed;
                -webkit-background-size: cover;
                -moz-background-size: cover;
                -o-background-size: cover;
                background-size: cover;
            }
        </style>
    </head>
    <div class="background-img">
        <div class="container-md min-vh-100 p-1">
            <div class="container-size" style="margin-top: 13vh">
                <div class="content">
                    <h2 class="header">{{ event.title }}</h2>
                    <h4 class="help-text">{{ event.event_date_start|date:"l d b Y H:i" }}</h4>
                    <p>{{ event.content | safe }}</p>
                </div>
                {% if event.sign_up %}
{'fraction_non_alphanumeric': 0.1802604523646333, 'fraction_numerical': 0.013365318711446196, 'mean_word_length': 2.0437956204379564, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 4, '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': '6183097', 'n_tokens_mistral': 986, 'n_tokens_neox': 891, 'n_words': 177}