<commit_before>{% load staticfiles %}

<footer>
    <div class="pt-3 footer-headline-enclosure">
        <div class="container">
            <div class="row">
                <div class="col-sm-12 footer-title-bar">
                    <img class="myhpom-footer__logo--small mb-4" src="/static/myhpom/img/logo/mmh-logo-hor-beta-color-rev@3x.png" alt="Mind My Health">

                    <ul class="footer-links-list">
                        <li class="footer-links-list__item">
                            <a class="footer-links-list__link" href="{% url 'myhpom:faq' %}">FAQs</a>
                        </li>
                        <li class="footer-links-list__item">
                            <a class="footer-links-list__link" href="{% url 'myhpom:about' %}">About</a>
                        </li>
                        <li class="footer-links-list__item">
                            <a class="footer-links-list__link" href="mailto:{{ settings.CONTACT_EMAIL }}">Contact Us</a>
                        </li>
                    </ul>

                    <ul class="footer-links-list footer-links-list--account-links">
                        <li class="footer-links-list__item">
                            {% if user.is_authenticated %}
                            <a class="footer-links-list__link" href="{% url 'myhpom:logout' %}">Logout</a>
                            {% else %}
                            <a class="footer-links-list__link" href="{% url 'login' %}">Login</a>
                            {% endif %}
                        </li>
                        <li class="footer-links-list__item">
                            {% if user.is_authenticated %}
                            <a class="footer-links-list__link" href="{% url 'myhpom:dashboard' %}">My Profile</a>
                            {% else %}
                            <a class="btn btn-secondary footer-links-list__button" href="{% url 'myhpom:signup' %}">Start Now</a>
                            {% endif %}
                        </li>
                    </ul>
                </div><commit_msg>[mh-294] fix logic of footer account links so that the links are also in the right order on the dashboard (see <https://agreatidea.co/client/mmh/mh-dashboard-V2-dashboard-condensed.jpg>)<commit_after>{% load staticfiles %}

<footer>
    <div class="pt-3 footer-headline-enclosure">
        <div class="container">
            <div class="row">
                <div class="col-sm-12 footer-title-bar">
                    <img class="myhpom-footer__logo--small mb-4" src="/static/myhpom/img/logo/mmh-logo-hor-beta-color-rev@3x.png" alt="Mind My Health">

                    <ul class="footer-links-list">
                        <li class="footer-links-list__item">
                            <a class="footer-links-list__link" href="{% url 'myhpom:faq' %}">FAQs</a>
                        </li>
                        <li class="footer-links-list__item">
                            <a class="footer-links-list__link" href="{% url 'myhpom:about' %}">About</a>
                        </li>
                        <li class="footer-links-list__item">
                            <a class="footer-links-list__link" href="mailto:{{ settings.CONTACT_EMAIL }}">Contact Us</a>
                        </li>
                    </ul>

                    <ul class="footer-links-list footer-links-list--account-links">
                        {% if user.is_authenticated %}
                        <li class="footer-links-list__item">
                            <a class="footer-links-list__link" href="{% url 'myhpom:dashboard' %}">My Profile</a>
                        </li>
                        {% endif %}
                        <li class="footer-links-list__item">
                            {% if user.is_authenticated %}
                            <a class="footer-links-list__link" href="{% url 'myhpom:logout' %}">Logout</a>
                            {% else %}
                            <a class="footer-links-list__link" href="{% url 'login' %}">Login</a>
                            {% endif %}
                        </li>
                        {% if not user.is_authenticated %}
                        <li class="footer-links-list__item">
                            <a class="btn btn-secondary footer-links-list__button" href="{% url 'myhpom:signup' %}">Start Now</a>
                        </li>
                        {% endif %}
                    </ul>
                </div>
{'fraction_non_alphanumeric': 0.14323725055432374, 'fraction_numerical': 0.0031042128603104213, 'mean_word_length': 1.2555, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 0, '>': 76, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5207143', 'n_tokens_mistral': 1305, 'n_tokens_neox': 1183, 'n_words': 222}