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

{% block title %}{{ event_.title }}{% endblock %}
{% block pageclass %}event{% endblock %}
{% block meta %}

  <meta property="og:site_name" content="Echo Manchester">

  <meta name="twitter:card" content="summary">
  <meta name="twitter:site" content="@EchoManchester">

  <meta property="og:title" content="{{ event_.title }}">
  <meta name="twitter:title" content="{{ event_.title }}">

  <meta name="twitter:description" content="{{ event_.shortBlurb(false) }}">
  <meta property="og:description" content="{{ event_.shortBlurb(false) }}">

{% endblock %}

{% block leftcontent %}
<ol class="breadcrumb">
  <li><a href="/">Echo</a></li>
  <li><a href="/events">Events</a></li>
  <li><a href="/events/{{ event_.startdt.format("YYYY/MMM") }}">{{ event_.startdt.format("MMMM YYYY") }}</a></li>
</ol>
 
{# <div class="img"></div> one day... #}

<h4 class="date">{{ event_.startdt.format("dddd, Do MMMM, h:mma") }}</h4>
 
<h2>
  {{ event_.title }}
  {% if user.rights === 'admin' or user.rights === 'editor' %}
  <a href="/admin/event/{{ event_.id }}/edit" class="btn btn-xs btn-primary">edit</a>
  {% endif %}
</h2>

{% if event_.host %}<commit_msg>Include event status info on event page for admins<commit_after>{% extends "layout.html" %}

{% block title %}{{ event_.title }}{% endblock %}
{% block pageclass %}event{% endblock %}
{% block meta %}

  <meta property="og:site_name" content="Echo Manchester">

  <meta name="twitter:card" content="summary">
  <meta name="twitter:site" content="@EchoManchester">

  <meta property="og:title" content="{{ event_.title }}">
  <meta name="twitter:title" content="{{ event_.title }}">

  <meta name="twitter:description" content="{{ event_.shortBlurb(false) }}">
  <meta property="og:description" content="{{ event_.shortBlurb(false) }}">

{% endblock %}

{% block leftcontent %}
<ol class="breadcrumb">
  <li><a href="/">Echo</a></li>
  <li><a href="/events">Events</a></li>
  <li><a href="/events/{{ event_.startdt.format("YYYY/MMM") }}">{{ event_.startdt.format("MMMM YYYY") }}</a></li>
</ol>
 
{# <div class="img"></div> one day... #}

<h4 class="date">{{ event_.startdt.format("dddd, Do MMMM, h:mma") }}</h4>
 
<h2>
  {{ event_.title }}
  {% if user.rights === 'admin' or user.rights === 'editor' %}
  <a href="/admin/event/{{ event_.id }}/edit" class="btn btn-xs btn-primary">edit</a>
  {% endif %}

  {% if user.rights === 'admin' or user.rights === 'editor' %}
    <span class="btn btn-xs btn-info">status '{{ event_.state }}'</span>
  {% endif %}
</h2>

{% if event_.host %}
{'fraction_non_alphanumeric': 0.24455676516329705, 'fraction_numerical': 0.003110419906687403, 'mean_word_length': 4.8744292237442925, 'pattern_counts': {'":': 0, '<': 63, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7210546', 'n_tokens_mistral': 952, 'n_tokens_neox': 887, 'n_words': 191}