<commit_before>{% extends 'babyblotter/page.html' %}
{% load dashboard %}

{% block title %}Dashboard - {{ object }}{% endblock %}

{% block content %}

    <div class="bg-light text-dark rounded text-center pb-2">
        <h1 class="display-4">{{ object }}</h1>

        <div class="dropdown">
            <button id="reports-dropdown"
                    class="btn btn-success dropdown-toggle"
                    type="button"
                    data-toggle="dropdown"
                    aria-haspopup="true"
                    aria-expanded="false"><i class="fa fa-bar-chart" aria-hidden="true"></i> Reports</button>
            <div class="dropdown-menu" aria-labelledby="reports-dropdown">
                {% if perms.core.view_diaperchange %}
                    <a class="dropdown-item" href="{% url 'reports:report-diaperchange-child' object.slug %}">
                        <i class="fa fa-trash" aria-hidden="true"></i> Changes</a>
                {% endif %}
            {% if perms.core.view_sleep %}
                    <a class="dropdown-item" href="{% url 'reports:report-sleep-child' object.slug %}">
                        <i class="fa fa-bed" aria-hidden="true"></i> Sleep</a>
                {% endif %}
            </div>
        </div>
    </div>

    <div class="row align-items-start mt-4">
        <div class="col-lg-4 col-sm-12">
            <div class="row">
                <div class="col-lg-12 col-sm-6">
                    {% card_feeding_last object %}
                    {% card_feeding_last_method object %}
                </div>
                <div class="col-lg-12 col-sm-6">
                    {% card_sleep_last object %}
                </div>
            </div>
        </div>
        <div class="col-lg-4 col-md-6 col-sm-12">
            {% card_tummytime_last object %}
            {% card_tummytime_day object %}
        </div>
        <div class="col-lg-4 col-md-6 col-sm-12">
            {% card_diaperchange_last object %}
            {% card_diaperchange_types object %}
        </div>
    </div>
{% endblock %}<commit_msg>Remove last tummy time card from child dashboard.<commit_after>{% extends 'babyblotter/page.html' %}
{% load dashboard %}

{% block title %}Dashboard - {{ object }}{% endblock %}

{% block content %}

    <div class="bg-light text-dark rounded text-center pb-2">
        <h1 class="display-4">{{ object }}</h1>

        <div class="dropdown">
            <button id="reports-dropdown"
                    class="btn btn-success dropdown-toggle"
                    type="button"
                    data-toggle="dropdown"
                    aria-haspopup="true"
                    aria-expanded="false"><i class="fa fa-bar-chart" aria-hidden="true"></i> Reports</button>
            <div class="dropdown-menu" aria-labelledby="reports-dropdown">
                {% if perms.core.view_diaperchange %}
                    <a class="dropdown-item" href="{% url 'reports:report-diaperchange-child' object.slug %}">
                        <i class="fa fa-trash" aria-hidden="true"></i> Changes</a>
                {% endif %}
            {% if perms.core.view_sleep %}
                    <a class="dropdown-item" href="{% url 'reports:report-sleep-child' object.slug %}">
                        <i class="fa fa-bed" aria-hidden="true"></i> Sleep</a>
                {% endif %}
            </div>
        </div>
    </div>

    <div class="row align-items-start mt-4">
        <div class="col-lg-4 col-md-6 col-sm-12">
            {% card_feeding_last object %}
            {% card_feeding_last_method object %}
        </div>
        <div class="col-lg-4 col-md-6 col-sm-12">
            {% card_sleep_last object %}
            {% card_tummytime_day object %}
        </div>
        <div class="col-lg-4 col-md-6 col-sm-12">
            {% card_diaperchange_last object %}
            {% card_diaperchange_types object %}
        </div>
    </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.1574144486692015, 'fraction_numerical': 0.00988593155893536, 'mean_word_length': 1.6843537414965986, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, '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': '3819031', 'n_tokens_mistral': 1261, 'n_tokens_neox': 1135, 'n_words': 227}