<commit_before>﻿@using StockportWebapp.Models
@model ProcessedEvents

@{
    ViewData["Title"] = Model.Title;
    ViewData["og:title"] = Model.Title;
    ViewData["Description"] = Model.Teaser;
    ViewData["Beta"] = true;
    Layout = "../Shared/_Layout.cshtml";
}

@section Breadcrumbs {

    @Html.Partial("Breadcrumb", Model.Breadcrumbs)
}
<div class="grid-container-full-width">
    <div class="grid-container grid-100">

        <div class="l-body-section-filled l-article-content mobile-grid-100 tablet-grid-100 grid-100">
            <section aria-label="@Model.Title content">
                <div class="l-content-container grid-100 events-margin">
                    <h1 class="events-article-title">@Model.Title</h1>

                    <div class="grid-100 events-calender-container grid-100">
                        @if (!string.IsNullOrEmpty(Model.ImageUrl))
                        {
                            <div class="group-calender-container-image hide-on-desktop" style="background-size: cover; background-position: center; background-image: url(@Model.ImageUrl);"> </div>
                        }
                        <div class="grid-60 events-calender-container-description">
                            <ul class="events-ul">
                                <li class="events-details">
                                    <div class="grid-10 mobile-grid-15 tablet-grid-10 events-details-symbol-containter">
                                        <i class="fa fa-clock-o fa-2x events-details-symbol"></i>
                                    </div>
                                    <div class="grid-90 mobile-grid-85 tablet-grid-90 events-details-content">
                                        <div class="events-details-heading">Date and time</div>
                                        @Model.EventDate.ToString("dddd dd MMMM yyyy") @Model.StartTime - @Model.EndTime
                                    </div>
                                    <div class="clearfix"></div>
                                </li>

                                <li class="events-details">
                                    <div class="grid-10 mobile-grid-15 tablet-grid-10 events-details-symbol-containter">
                                        <i class="fa fa-gbp fa-2x events-details-symbol"></i>
                                    </div>
                                    <div class="grid-90 mobile-grid-85 tablet-grid-90 events-details-content">
                                        <div class="events-details-heading">
                                            Price
                                        </div>
                                        @Model.Fee
                                    </div>
                                    <div class="clearfix"></div>
                                </li>
                                <li class="events-details">
                                    <div class="grid-10 mobile-grid-15 tablet-grid-10 events-details-symbol-containter">
                                        <i class="fa fa-map-marker fa-2x events-details-symbol"></i>
                                    </div>
                                    <div class="grid-90 mobile-grid-85 tablet-grid-90 events-details-content">
                                        <div class="events-details-heading">
                                            Location
                                        </div>
                                        @Html.Raw(Model.Location)
                                    </div>
                                    <div class="clearfix"></div>
                                </li>
                                <li class="events-details">
                                    <div class="grid-10 mobile-grid-15 tablet-grid-10 events-details-symbol-containter">
                                        <i class="fa fa-user fa-2x events-details-symbol"></i>
                                    </div>
                                    <div class="grid-90 mobile-grid-85 tablet-grid-90 events-details-content">
                                        <div class="events-details-heading">
                                            Submitted by
                                        </div>
                                        @Model.SubmittedBy
                                    </div>
                                    <div class="clearfix"></div>
                                </li>
                            </ul>
                        </div>

                        <div class="grid-40 events-calender-container-image hide-on-mobile hide-on-tablet" style="background-size: cover; background-position: center; background-image: url(@Model.ImageUrl);">
                        </div>
                    </div>
                    <div class="grid-100">
                        <h3 class="group-details-heading">Description</h3>
                        <article>
                            @Html.Raw(Model.Description)
                        </article>
                    </div>
                    @if (Model.MapPosition != null && Model.MapPosition.Lat != 0.0 && Model.MapPosition.Lon != 0.0)
                    {
                        <div id="map" class="grid-100" style="height: 500px;"></div>
                        <script>
                            function initMap() {
                                var eventLocation = {lat: @Model.MapPosition.Lat, lng: @Model.MapPosition.Lon};
                                var map = new google.maps.Map(document.getElementById('map'), {
                                    zoom: 18,
                                    center: eventLocation
                                });
                                var marker = new google.maps.Marker({
                                    position: eventLocation,
                                    map: map,
                                    title: "@Model.Location"
                                });
                            }
                        </script>
                        <script async defer
                                src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCRDiyFSR89eJDD7OhCVIpjCc7g5FNwPJo&callback=initMap">
                        </script>
                    }

                </div>

            </section>
        </div>
    </div>
</div>
<commit_msg>Gary updated Google Maps API Key<commit_after>﻿@using StockportWebapp.Models
@model ProcessedEvents

@{
    ViewData["Title"] = Model.Title;
    ViewData["og:title"] = Model.Title;
    ViewData["Description"] = Model.Teaser;
    ViewData["Beta"] = true;
    Layout = "../Shared/_Layout.cshtml";
}

@section Breadcrumbs {

    @Html.Partial("Breadcrumb", Model.Breadcrumbs)
}
<div class="grid-container-full-width">
    <div class="grid-container grid-100">

        <div class="l-body-section-filled l-article-content mobile-grid-100 tablet-grid-100 grid-100">
            <section aria-label="@Model.Title content">
                <div class="l-content-container grid-100 events-margin">
                    <h1 class="events-article-title">@Model.Title</h1>

                    <div class="grid-100 events-calender-container grid-100">
                        @if (!string.IsNullOrEmpty(Model.ImageUrl))
                        {
                            <div class="group-calender-container-image hide-on-desktop" style="background-size: cover; background-position: center; background-image: url(@Model.ImageUrl);"> </div>
                        }
                        <div class="grid-60 events-calender-container-description">
                            <ul class="events-ul">
                                <li class="events-details">
                                    <div class="grid-10 mobile-grid-15 tablet-grid-10 events-details-symbol-containter">
                                        <i class="fa fa-clock-o fa-2x events-details-symbol"></i>
                                    </div>
                                    <div class="grid-90 mobile-grid-85 tablet-grid-90 events-details-content">
                                        <div class="events-details-heading">Date and time</div>
                                        @Model.EventDate.ToString("dddd dd MMMM yyyy") @Model.StartTime - @Model.EndTime
                                    </div>
                                    <div class="clearfix"></div>
                                </li>

                                <li class="events-details">
                                    <div class="grid-10 mobile-grid-15 tablet-grid-10 events-details-symbol-containter">
                                        <i class="fa fa-gbp fa-2x events-details-symbol"></i>
                                    </div>
                                    <div class="grid-90 mobile-grid-85 tablet-grid-90 events-details-content">
                                        <div class="events-details-heading">
                                            Price
                                        </div>
                                        @Model.Fee
                                    </div>
                                    <div class="clearfix"></div>
                                </li>
                                <li class="events-details">
                                    <div class="grid-10 mobile-grid-15 tablet-grid-10 events-details-symbol-containter">
                                        <i class="fa fa-map-marker fa-2x events-details-symbol"></i>
                                    </div>
                                    <div class="grid-90 mobile-grid-85 tablet-grid-90 events-details-content">
                                        <div class="events-details-heading">
                                            Location
                                        </div>
                                        @Html.Raw(Model.Location)
                                    </div>
                                    <div class="clearfix"></div>
                                </li>
                                <li class="events-details">
                                    <div class="grid-10 mobile-grid-15 tablet-grid-10 events-details-symbol-containter">
                                        <i class="fa fa-user fa-2x events-details-symbol"></i>
                                    </div>
                                    <div class="grid-90 mobile-grid-85 tablet-grid-90 events-details-content">
                                        <div class="events-details-heading">
                                            Submitted by
                                        </div>
                                        @Model.SubmittedBy
                                    </div>
                                    <div class="clearfix"></div>
                                </li>
                            </ul>
                        </div>

                        <div class="grid-40 events-calender-container-image hide-on-mobile hide-on-tablet" style="background-size: cover; background-position: center; background-image: url(@Model.ImageUrl);">
                        </div>
                    </div>
                    <div class="grid-100">
                        <h3 class="group-details-heading">Description</h3>
                        <article>
                            @Html.Raw(Model.Description)
                        </article>
                    </div>
                    @if (Model.MapPosition != null && Model.MapPosition.Lat != 0.0 && Model.MapPosition.Lon != 0.0)
                    {
                        <div id="map" class="grid-100" style="height: 500px;"></div>
                        <script>
                            function initMap() {
                                var eventLocation = {lat: @Model.MapPosition.Lat, lng: @Model.MapPosition.Lon};
                                var map = new google.maps.Map(document.getElementById('map'), {
                                    zoom: 18,
                                    center: eventLocation
                                });
                                var marker = new google.maps.Marker({
                                    position: eventLocation,
                                    map: map,
                                    title: "@Model.Location"
                                });
                            }
                        </script>
                        <script async defer
                                src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCPMO2lE7np9cG_zG63JH_pNVmRfoajZjg&callback=initMap">
                        </script>
                    }

                </div>

            </section>
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.10611357104016157, 'fraction_numerical': 0.015691757942981433, 'mean_word_length': 0.8965822038892163, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 167, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 148, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1085564', 'n_tokens_mistral': 3002, 'n_tokens_neox': 2742, 'n_words': 497}