<commit_before><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
      lang="en"
      metal:use-macro="context/main_template/macros/master"
      i18n:domain="meetshaus.jmscontent">
<body>

<metal:main fill-slot="main">
  <metal:content-core define-macro="main">

  <div class="page-header">
    <h1 tal:content="context/Title" />
  </div>

  <tal:authenticated tal:condition="view/authenticated">
    <div class="alert alert-warning">
      <h4 class="alert-heading">Heads up!</h4>
      <p i18n:translate="">
        You are currently logged in therefore you see
        a listing of content pages in this folder.
        Anonymous visitors will be redirected to the first page in this
        folder:
        <span i18n:name="first_page_url" 
          tal:content="view/first_page" />
      </p>
      <a href=""
        class="btn btn-small btn-inverse"
        tal:attributes="href view/first_page">
        Open default page</a><commit_msg>Make the default category folder view actually do something senseful when visited<commit_after><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
      lang="en"
      metal:use-macro="context/main_template/macros/master"
      i18n:domain="meetshaus.jmscontent">
<body>

<metal:main fill-slot="main">
  <metal:content-core define-macro="main">

  <div class="page-header">
    <h1 tal:content="context/Title" />
  </div>

  <tal:authenticated tal:condition="view/authenticated">
    <div class="alert alert-warning">
      <h4 class="alert-heading">Heads up!</h4>
      <p i18n:translate="">
        You are currently logged in therefore you see
        a listing of content pages in this folder.
        Anonymous visitors will be redirected to the first page in this
        folder
        <span i18n:name="first_page_url"
          tal:condition="view/has_pages"
          tal:content="view/first_page" />
      </p>
      <a href=""
        tal:condition="view/has_pages"
        class="btn btn-small btn-inverse"
        tal:attributes="href view/first_page">
        Open default page</a>
    </div>
    <div tal:condition="not:view/has_pages"
      class="alert alert-info">
      <h4 class="alert-heading">Info</h4>
          There is no ContentPage in this folder yet<br />
          You might as well go and 
          <a href="" tal:define="context_url context/absolute_url"
            tal:attributes="href python:context_url + '/++add++meetshaus.jmscontent.contentpage'">
            create one?</a>
{'fraction_non_alphanumeric': 0.14229671897289586, 'fraction_numerical': 0.01355206847360913, 'mean_word_length': 3.0128755364806867, 'pattern_counts': {'":': 0, '<': 42, '<?xml version=': 0, '>': 42, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 16}, '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': '20064', 'n_tokens_mistral': 940, 'n_tokens_neox': 887, 'n_words': 184}