<commit_before>{% extends "base.html" %}
{% load static %}

{% if artist.artist_banner %}
    {% block banner %}
        <img class="banner" src="{{ artist.artist_banner.url }}">
    {% endblock %}
{% endif %}

{% block content %}
<div class="section">
  <div class="row">
    <div class="col s9">
      <div class="row">
        <div class="col s12">
          <h5>{{ artist.user.username }}</h5>
        </div>
      </div>
      <div class="row">
        <div class="col s12">
          <label>Biography</label>
          <p>{{ artist.artist_bio }}</p>
        </div>
      </div>
      <div class="row">
        <div class="col s12">
          <label>Signature</label>
          <p>{{ artist.artist_signature }}</p>
        </div>
      </div>
    </div>
    <div class="col s3">
      {% if artist.artist_image %}
        <img class="avatar secondary-content" src="{{ artist.artist_image.url }}">
      {% else %}
        <img class="avatar secondary-content" src="{% static 'img/test.jpg' %}">
      {% endif %}
    </div>
  </div>
  <div class="row">
    <div class="col s4">
      <div class="center-align">
        <a class="waves-effect waves-light btn-floating btn-large teal darken-3 tooltipped" data-position="top" data-delay="50" data-tooltip="Update Account" href="{% url 'update_artist' %}">
          <i class="mdi mdi-account"></i>
        </a>
      </div>
    </div>
    <div class="col s4">
      <div class="center-align">
        <a class="waves-effect waves-light btn-floating btn-large teal darken-3 tooltipped" data-position="top" data-delay="50" data-tooltip="Remove Account" href="{% url 'delete_user' %}">
          <i class="mdi mdi-account-remove"></i>
        </a>
      </div>
    </div>
    <div class="col s4">
      <div class="center-align">
        <a class="waves-effect waves-light btn-floating btn-large teal darken-3 tooltipped" data-position="top" data-delay="50" data-tooltip="Upload Photo" href="{% url 'upload_photo_artist' %}">
          <i class="mdi mdi-camera"></i>
        </a>
      </div>
    </div>
  </div>
</div>
{% endblock %}<commit_msg>Add default value to bio and signature when nothing has been set<commit_after>{% extends "base.html" %}
{% load static %}

{% if artist.artist_banner %}
    {% block banner %}
        <img class="banner" src="{{ artist.artist_banner.url }}">
    {% endblock %}
{% endif %}

{% block content %}
<div class="section">
  <div class="row">
    <div class="col s9">
      <div class="row">
        <div class="col s12">
          <h5>{{ artist.user.username }}</h5>
        </div>
      </div>
      <div class="row">
        <div class="col s12">
          <label>Biography</label>
            {% if artist.artist_bio %}
                <p>{{ artist.artist_bio }}</p>
            {% else %}
                <p>A little story about you.</p>
            {% endif %}
        </div>
      </div>
      <div class="row">
        <div class="col s12">
          <label>Signature</label>
            {% if artist.artist_signature %}
                <p>{{ artist.artist_signature }}</p>
            {% else %}
                <p>Some badass words you want to say</p>
            {% endif %}
        </div>
      </div>
    </div>
    <div class="col s3">
      {% if artist.artist_image %}
        <img class="avatar secondary-content" src="{{ artist.artist_image.url }}">
      {% else %}
        <img class="avatar secondary-content" src="{% static 'img/test.jpg' %}">
      {% endif %}
    </div>
  </div>
  <div class="row">
    <div class="col s4">
      <div class="center-align">
        <a class="waves-effect waves-light btn-floating btn-large teal darken-3 tooltipped" data-position="top" data-delay="50" data-tooltip="Update Account" href="{% url 'update_artist' %}">
          <i class="mdi mdi-account"></i>
        </a>
      </div>
    </div>
    <div class="col s4">
      <div class="center-align">
        <a class="waves-effect waves-light btn-floating btn-large teal darken-3 tooltipped" data-position="top" data-delay="50" data-tooltip="Remove Account" href="{% url 'delete_user' %}">
          <i class="mdi mdi-account-remove"></i>
        </a>
      </div>
    </div>
    <div class="col s4">
      <div class="center-align">
        <a class="waves-effect waves-light btn-floating btn-large teal darken-3 tooltipped" data-position="top" data-delay="50" data-tooltip="Upload Photo" href="{% url 'upload_photo_artist' %}">
          <i class="mdi mdi-camera"></i>
        </a>
      </div>
    </div>
  </div>
</div>
{% endblock %}
{'fraction_non_alphanumeric': 0.18800969803835132, 'fraction_numerical': 0.00969803835133348, 'mean_word_length': 2.286024619840695, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, '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': '6796404', 'n_tokens_mistral': 1597, 'n_tokens_neox': 1482, 'n_words': 351}