<commit_before>{% load i18n %}
{% load l10n %}

<!-- Issue Buttons -->
{% if actionbar.sponsor %}
    {% if user.is_authenticated %}
        <a href ng-click="sponsor()" class="fs-button green">Sponsor this issue</a>
    {% else %}
        <a href="/core/login/?next={{issue.get_view_link}}" class="fs-button green">Sponsor this issue</a>
    {% endif %}
{% endif %}
{% if actionbar.pay %}
    <a href="/core/offer/{{myoffer.id}}/pay" class="fs-button green">Pay Offer</a>
{% endif %}
{% if actionbar.change %}
    <a href ng-click="change()" class="fs-button green">Change Offer</a>
{% endif %}
{% if actionbar.revoke %}
    <a href ng-click="revoke()" class="fs-button green">Revoke Offer</a>
{% endif %}
{% if actionbar.work %}
    <a href ng-click="work()" class="fs-button blue">Work on this issue</a>
{% endif %}
{% if actionbar.resolve %}
    {% if user.is_authenticated %}
        <a href ng-click="resolve()" class="fs-button blue">Resolve issue</a>
    {% else %}
        <a href="/core/login/?next={{issue.get_view_link}}" class="fs-button blue">Resolve issue</a>
    {% endif %}
{% endif %}
{% if actionbar.abort %}
    <a href ng-click="abort()" class="fs-button blue">Abort work</a>
{% endif %}


<!-- Modal -->
<div class="modal fade in" id="action_modal">
    <div class="modal-dialog column-wrapper vertical">
        <div class="column fit"></div>
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" ng-click="close_modal('#action_modal')" >&times;</button>
                <span class="modal-title font-size-20 ubahn grey-text">{[{ actionmodal.title }]}</span>
            </div>
            <div class="divider small"></div>
            <form method="post" action="{[{ actionmodal.formaction }]}">
                {% csrf_token %}
                <input type="hidden" name="issue_id" value="{{issue.id}}">
                <input type="hidden" name="offer_id" value="{{myoffer.id}}">
                <input type="hidden" name="solution_id" value="{{mysolution.id}}">

                <div class="modal-body">
                    <div ng-switch on="actionmodal.action">
                        <div ng-switch-when="SPONSOR">
                            <div class="inline-content">
								Offer value:
								<input type="text" ng-model="myoffer.price" id="price" name="price" value="" class="positive fs-input text-align-right" style="width:100px;">
								<div class="hgap-5"><!-- Horizontal Gap 5px --></div>
                                <!-- FS Radio -->
								<span>
									<input id="currency" class="fs-input" name="currency" type="radio" value="USD" checked="checked">
									<label for="currency" class="ubahn font-size-14"> US$</label>
								</span>
                                {% if BITCOIN_ENABLED %}
								<div class="hgap-5"><!-- Horizontal Gap 5px --></div>
                                <!-- FS Radio -->
								<span>
									<input id="currency" class="fs-input" name="currency" type="radio" value="BTC">
									<label for="currency" class="ubahn font-size-14"> Bitcoin</label>
								</span>
                                {% endif %}
                            </div>
                            <div class="vgap-15"><!-- Vertical Gap 15px --></div>
                            <div class="inline-content">
								<!-- FS Checkbox -->
								<span>
									<input ng-model="myoffer.no_forking" type="checkbox" id="no_forking" name="no_forking" value="no_forking" class="fs-input">
									<label id="no_forking_label" for="no_forking" class="ubahn font-size-14">No Forking</label>
								</span>
								<i class="icon-question-sign popopo" rel="popover" data-content="Having this checked means that you are only interested in solutions that are implemented on the main project's codebase. We recommended leaving it checked. It will enable you to benefit from new improvements that might get implemented in the future." data-original-title="Original vs. copies"></i>
								<!-- FS Checkbox -->
								<span>
									<input ng-model="myoffer.require_release" type="checkbox" id="require_release" name="require_release" value="require_release">
									<label id="require_release_label" for="require_release" class="ubahn font-size-14">Require release</label>
								</span>
								<i class="icon-question-sign popopo" rel="popover" data-content="By checking this one you are telling the developer that just commiting the code is not enough. The solution must be available in a released, easily installable version" data-original-title="Commiting is not enough!"></i>
								<!-- FS Checkbox -->
								<span>
									<input ng-model="myoffer.expires" type="checkbox" id="expires" name="expires" value="expires" class="fs-input">
									<label id="require_release_label" for="expires" class="ubahn font-size-14">This offer will expire...</label>
								</span>
                                <span ng-show="myoffer.expires">
                                    in
                                    <input ng-model="myoffer.expiration_time" type="text" id="expiration_time" name="expiration_time" style="width:50px;" class="fs-input text-align-right">
                                    Days
                                </span>
                            </div>
							<div class="vgap-15"><!-- Vertical Gap 15px --></div>
                            <div>
                                <label for="acceptanceCriteria">Acceptance criteria</label>
                                <text-with-markdown-preview model="myoffer.acceptanceCriteria" nameid="acceptanceCriteria" placeholder="{[{ actionmodal.commentplaceholder }]}"></text-with-markdown-preview>
                            </div>
							<div class="vgap-15"><!-- Vertical Gap 15px --></div>
							<div>
                                <p class="help-block green-text font-size-11">
                                    FreedomSponsors will charge a 3% fee on top of your payment. For offers in US$, Paypal's fees will also apply.
									<a href=""> Learn more!</a>
                                </p>
                            </div>
                        </div>
                        <div ng-switch-when="ACTION_AND_COMMENT">
                            <div>
                                <label for="comment">Leave a comment</label>
                                <text-with-markdown-preview model="actioncomment" nameid="comment" placeholder="{[{ actionmodal.commentplaceholder }]}"></text-with-markdown-preview><commit_msg>Correções nos popups da pagina da issue<commit_after>{% load i18n %}
{% load l10n %}

<!-- Issue Buttons -->
{% if actionbar.sponsor %}
    {% if user.is_authenticated %}
        <a href ng-click="sponsor()" class="fs-button green">Sponsor this issue</a>
    {% else %}
        <a href="/core/login/?next={{issue.get_view_link}}" class="fs-button green">Sponsor this issue</a>
    {% endif %}
{% endif %}
{% if actionbar.pay %}
    <a href="/core/offer/{{myoffer.id}}/pay" class="fs-button green">Pay Offer</a>
{% endif %}
{% if actionbar.change %}
    <a href ng-click="change()" class="fs-button green">Change Offer</a>
{% endif %}
{% if actionbar.revoke %}
    <a href ng-click="revoke()" class="fs-button green">Revoke Offer</a>
{% endif %}
{% if actionbar.work %}
    <a href ng-click="work()" class="fs-button blue">Work on this issue</a>
{% endif %}
{% if actionbar.resolve %}
    {% if user.is_authenticated %}
        <a href ng-click="resolve()" class="fs-button blue">Resolve issue</a>
    {% else %}
        <a href="/core/login/?next={{issue.get_view_link}}" class="fs-button blue">Resolve issue</a>
    {% endif %}
{% endif %}
{% if actionbar.abort %}
    <a href ng-click="abort()" class="fs-button blue">Abort work</a>
{% endif %}


<!-- Modal -->
<div class="modal fade in" id="action_modal">
    <div class="modal-dialog column-wrapper vertical">
        <div class="column fit"></div>
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" ng-click="close_modal('#action_modal')" >&times;</button>
                <span class="modal-title font-size-20 ubahn grey-text">{[{ actionmodal.title }]}</span>
            </div>
            <div class="divider small"></div>
            <form method="post" action="{[{ actionmodal.formaction }]}">
                {% csrf_token %}
                <input type="hidden" name="issue_id" value="{{issue.id}}">
                <input type="hidden" name="offer_id" value="{{myoffer.id}}">
                <input type="hidden" name="solution_id" value="{{mysolution.id}}">

                <div class="modal-body">
                    <div ng-switch on="actionmodal.action">
                        <div ng-switch-when="SPONSOR">
                            <div class="inline-content">
								Offer value:
								<input type="text" ng-model="myoffer.price" id="price" name="price" value="" class="positive fs-input text-align-right" style="width:100px;">
								<div class="hgap-5"><!-- Horizontal Gap 5px --></div>
                                <!-- FS Radio -->
								<span>
									<input id="currency" class="fs-input" name="currency" type="radio" value="USD" checked="checked">
									<label for="currency" class="ubahn font-size-14"> US$</label>
								</span>
                                {% if BITCOIN_ENABLED %}
								<div class="hgap-5"><!-- Horizontal Gap 5px --></div>
                                <!-- FS Radio -->
								<span>
									<input id="currency" class="fs-input" name="currency" type="radio" value="BTC">
									<label for="currency" class="ubahn font-size-14"> Bitcoin</label>
								</span>
                                {% endif %}
                            </div>
                            <div class="vgap-15"><!-- Vertical Gap 15px --></div>
                            <div class="inline-content">
								<!-- FS Checkbox -->
								<span>
									<input ng-model="myoffer.no_forking" type="checkbox" id="no_forking" name="no_forking" value="no_forking" class="fs-input">
									<label id="no_forking_label" for="no_forking" class="ubahn font-size-14">No Forking</label>
								</span>
								<i class="icon-question-sign popopo" rel="popover" data-content="Having this checked means that you are only interested in solutions that are implemented on the main project's codebase. We recommended leaving it checked. It will enable you to benefit from new improvements that might get implemented in the future." data-original-title="Original vs. copies"></i>
								<!-- FS Checkbox -->
								<span>
									<input ng-model="myoffer.require_release" type="checkbox" id="require_release" name="require_release" value="require_release" class="fs-input">
									<label id="require_release_label" for="require_release" class="ubahn font-size-14">Require release</label>
								</span>
								<i class="icon-question-sign popopo" rel="popover" data-content="By checking this one you are telling the developer that just commiting the code is not enough. The solution must be available in a released, easily installable version" data-original-title="Commiting is not enough!"></i>
								<!-- FS Checkbox -->
								<span>
									<input ng-model="myoffer.expires" type="checkbox" id="expires" name="expires" value="expires" class="fs-input">
									<label id="require_release_label" for="expires" class="ubahn font-size-14">This offer will expire...</label>
								</span>
                                <span ng-show="myoffer.expires">
                                    in
                                    <input ng-model="myoffer.expiration_time" type="text" id="expiration_time" name="expiration_time" style="width:50px;" class="fs-input text-align-right">
                                    Days
                                </span>
                            </div>
							<div class="vgap-15"><!-- Vertical Gap 15px --></div>
                            <div>
                                <label for="acceptanceCriteria">Acceptance criteria</label>
                                <text-with-markdown-preview model="myoffer.acceptanceCriteria" nameid="acceptanceCriteria" placeholder="{[{ actionmodal.commentplaceholder }]}"></text-with-markdown-preview>
                            </div>
							<div class="vgap-15"><!-- Vertical Gap 15px --></div>
							<div>
                                <p class="help-block green-text font-size-11">
                                    FreedomSponsors will charge a 3% fee on top of your payment. For offers in US$, Paypal's fees will also apply.
									<a href=""> Learn more!</a>
                                </p>
                            </div>
                        </div>
                        <div ng-switch-when="ACTION_AND_COMMENT">
                            <div>
                                <label for="comment">Leave a comment</label>
                                <text-with-markdown-preview model="actioncomment" nameid="comment" placeholder="{[{ actionmodal.commentplaceholder }]}"></text-with-markdown-preview>
{'fraction_non_alphanumeric': 0.1568121442125237, 'fraction_numerical': 0.0060721062618595825, 'mean_word_length': 2.0893317702227434, 'pattern_counts': {'":': 0, '<': 235, '<?xml version=': 0, '>': 235, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4332761', 'n_tokens_mistral': 4403, 'n_tokens_neox': 3573, 'n_words': 874}