<commit_before>{% load thumbnail %}
<div class="pure-g">
  <div class="pure-u-1">
    <h3>
      {% if user.is_staff %}
       <a href="{% url 'booking.location.update' o.pk %}">
         <i class="fa fa-edit"></i>
         {{ o.title }}
        </a>
      {% else %}
        {% if o.url %}
          <a href="{{ o.url }}" target="_blank">
            {{ o.title }}
          </a>
        {% else %}
          {{ o.title }}
        {% endif %}
      {% endif %}
    </h3>
    {% if o.url %}
      <a href="{{ o.url }}" target="_blank">
        {{ o.url }}
      </a>
    {% endif %}
    {% autoescape off %}
      {{ o.description }}
    {% endautoescape %}
  </div>
</div>
<div class="pure-g">
  <div class="pure-u-1 pure-u-md-1-2">
    {% if o.address %}
      {{ o.address|linebreaksbr }}
    {% endif %}
    {% if o.url_map %}
      <br />
      <br />
      <a href="{{ o.url_map }}" target="_blank">
        <i class="fa fa-external-link"></i>
        Click here for a map....
      </a>
    {% endif %}
  </div>
  <div class="pure-u-1 pure-u-md-1-2">
    {% if o.url %}
      <a href="{{ o.url }}" target="_blank">
        {% if o.picture %}
          <img class="pure-img" src="{% thumbnail o.picture 150x150 crop %}" />
        {% endif %}
      </a>
    {% endif %}
  </div>
</div>
<commit_msg>display picture even if we have no url<commit_after>{% load thumbnail %}
<div class="pure-g">
  <div class="pure-u-1">
    <h3>
      {% if user.is_staff %}
       <a href="{% url 'booking.location.update' o.pk %}">
         <i class="fa fa-edit"></i>
         {{ o.title }}
        </a>
      {% else %}
        {% if o.url %}
          <a href="{{ o.url }}" target="_blank">
            {{ o.title }}
          </a>
        {% else %}
          {{ o.title }}
        {% endif %}
      {% endif %}
    </h3>
    {% if o.url %}
      <a href="{{ o.url }}" target="_blank">
        {{ o.url }}
      </a>
    {% endif %}
    {% autoescape off %}
      {{ o.description }}
    {% endautoescape %}
  </div>
</div>
<div class="pure-g">
  <div class="pure-u-1 pure-u-md-1-2">
    {% if o.address %}
      {{ o.address|linebreaksbr }}
    {% endif %}
    {% if o.url_map %}
      <br />
      <br />
      <a href="{{ o.url_map }}" target="_blank">
        <i class="fa fa-external-link"></i>
        Click here for a map....
      </a>
    {% endif %}
  </div>
  <div class="pure-u-1 pure-u-md-1-2">
    {% if o.url %}
      <a href="{{ o.url }}" target="_blank">
    {% endif %}
    {% if o.picture %}
      <img class="pure-img" src="{% thumbnail o.picture 150x150 crop %}" />
    {% endif %}
    {% if o.url %}
      </a>
    {% endif %}
  </div>
</div>

{'fraction_non_alphanumeric': 0.2315512048192771, 'fraction_numerical': 0.011295180722891566, 'mean_word_length': 1.5947265625, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '398654', 'n_tokens_mistral': 1074, 'n_tokens_neox': 956, 'n_words': 210}