Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update icon and copy
Browse files Browse the repository at this point in the history
nlhkabu committed Apr 3, 2020

Verified

This commit was signed with the committer’s verified signature.
x5a Zak Lee
1 parent 6c16046 commit 6e79c1a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions warehouse/templates/manage/releases.html
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@
<li>
{% set slug = 'yank_release-modal-{}'.format(loop.index) %}
<a href="#{{ slug }}" class="dropdown__link">
<i class="fa fa-folder-minus" aria-hidden="true"></i>
<i class="fa fa-long-arrow-alt-left" aria-hidden="true"></i>
{% trans %}Yank{% endtrans %}
</a>
</li>
@@ -110,17 +110,17 @@

{% if release.yanked %}
{% set slug = 'unyank_release-modal-{}'.format(loop.index) %}
{% set title = gettext("Un-yank Release") %}
{% set title = gettext("Un-yank release") %}
{{ confirm_modal(title, gettext('Version'), 'unyank_version', release.version, slug, custom_warning_text=version_warning_text, action=action, warning=False) }}
{% else %}
{% set slug = 'yank_release-modal-{}'.format(loop.index) %}
{% set title = gettext("Yank Release") %}
{% set title = gettext("Yank release") %}
{{ confirm_modal(title, gettext('Version'), 'yank_version', release.version, slug, custom_warning_text=version_warning_text, action=action, warning=False) }}

{% set slug = 'delete_release-modal-{}'.format(loop.index) %}
{% set title = gettext("Delete Release") %}
{% set title = gettext("Delete release") %}
{% set custom_warning_text %}
<p>{% trans href='https://www.python.org/dev/peps/pep-0440/#post-releases', title=gettext('External link') %}You will not be able to re-upload a new distribution of the same type with the same version number. Consider yanking this irelease, making a new release or a <a href="{{ href }}" title="{{ title }}" target="_blank" rel="noopener">post release</a> instead.{% endtrans %}</p>
<p>{% trans href='https://www.python.org/dev/peps/pep-0440/#post-releases', title=gettext('External link') %}You will not be able to re-upload a new distribution of the same type with the same version number. Consider yanking this release, making a new release or a <a href="{{ href }}" title="{{ title }}" target="_blank" rel="noopener">post release</a> instead.{% endtrans %}</p>
{% endset %}
{{ confirm_modal(title, gettext('Version'), 'delete_version', release.version, slug, custom_warning_text=custom_warning_text, action=action) }}
{% endif %}

0 comments on commit 6e79c1a

Please sign in to comment.