<commit_before>{% load templatetag_handlebars %}
{% load i18n %}
{% load static %}

{% tplhandlebars "_my_project_preview" %}

    <li class="project-list-item">

        <div class="project-header">
            <figure class="project-image">
                {{#if project.image.square}}
                    <img {{bindAttr src="project.image.square" alt="project.title"}} />
                {{else}}
                    &nbsp;
                {{/if}}
            </figure>
            <div class="project-info">
                <h2 class="project-title">
                    {{ project.title }}
                </h2>
                {{#if project.viewable}}
                {{#link-to 'project' project.id}}
                    <span class="flaticon solid eye-1"></span>
                    {% trans "View public page" %}
                {{/link-to}}
                {{else}}
                    {% trans "Draft" %}
                {{/if}}
            </div>
        </div>

        <div class="project-actions">
            {{!-- trans "Phase" %}: <strong>{{ project.status.name</strong> --}}
            {{#if project.editable}}
                {{#link-to "myProject" project.id tagName="a" class="btn-link right"}}
                    <span class="flaticon solid pencil-3"></span>
                    {% trans "Edit" %}
                {{/link-to}}

            {{else}}
                    <span class="flaticon solid lock-1"></span>
                    {% trans "Campaign is in review" %}
            {{/if}}
            {{#if project.viewable}}
                {{#if project.amount_asked}}
                    {{#link-to "projectDonationList" project.id class="btn-link right"}}
                        <span class="flaticon solid wallet-1"></span>
                        {% trans "Donations" %}
                    {{/link-to}}
                    {{#if project.mchanga_account}}
                        {{#link-to "projectMpesaList" project.id class="btn-link right"}}
                            <span class="flaticon solid wallet-1"></span>
                            {% trans "Mpesa Payments" %}
                        {{/link-to}}
                    {{/if}}
                {{/if}}
                {{#link-to "project" project.id class="btn-link right"}}
                    <span class="flaticon solid pencil-3"></span>
                    {% trans "Post update" %}
                {{/link-to}}
                {{#link-to "taskNew" project.id class="btn-link right"}}
                    <span class="flaticon solid pencil-3"></span>
                    {% trans "Create task" %}
                {{/link-to}}
            {{/if}}

        </div>
    </li>

{% endtplhandlebars %}<commit_msg>remove 'Draft' and 'Campaign is in review' text from My Campaign CLUB-945<commit_after>{% load templatetag_handlebars %}
{% load i18n %}
{% load static %}

{% tplhandlebars "_my_project_preview" %}

    <li class="project-list-item">

        <div class="project-header">
            <figure class="project-image">
                {{#if project.image.square}}
                    <img {{bindAttr src="project.image.square" alt="project.title"}} />
                {{else}}
                    &nbsp;
                {{/if}}
            </figure>
            <div class="project-info">
                <h2 class="project-title">
                    {{ project.title }}
                </h2>
                {{#if project.viewable}}
                    {{#link-to 'project' project.id}}
                        <span class="flaticon solid eye-1"></span>
                        {% trans "View public page" %}
                    {{/link-to}}
                {{/if}}
            </div>
        </div>

        <div class="project-actions">
            {{!-- trans "Phase" %}: <strong>{{ project.status.name</strong> --}}
            {{#if project.editable}}
                {{#link-to "myProject" project.id tagName="a" class="btn-link right"}}
                    <span class="flaticon solid pencil-3"></span>
                    {% trans "Edit" %}
                {{/link-to}}
            {{/if}}
            {{#if project.viewable}}
                {{#if project.amount_asked}}
                    {{#link-to "projectDonationList" project.id class="btn-link right"}}
                        <span class="flaticon solid wallet-1"></span>
                        {% trans "Donations" %}
                    {{/link-to}}
                    {{#if project.mchanga_account}}
                        {{#link-to "projectMpesaList" project.id class="btn-link right"}}
                            <span class="flaticon solid wallet-1"></span>
                            {% trans "Mpesa Payments" %}
                        {{/link-to}}
                    {{/if}}
                {{/if}}
                {{#link-to "project" project.id class="btn-link right"}}
                    <span class="flaticon solid pencil-3"></span>
                    {% trans "Post update" %}
                {{/link-to}}
                {{#link-to "taskNew" project.id class="btn-link right"}}
                    <span class="flaticon solid pencil-3"></span>
                    {% trans "Create task" %}
                {{/link-to}}
            {{/if}}

        </div>
    </li>

{% endtplhandlebars %}
{'fraction_non_alphanumeric': 0.15780510879848628, 'fraction_numerical': 0.004541154210028382, 'mean_word_length': 1.2313212325875897, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '1890250', 'n_tokens_mistral': 1507, 'n_tokens_neox': 1368, 'n_words': 290}