Skip to content

Commit

Permalink
Update warehouse/templates/manage/project/publishing.html
Browse files Browse the repository at this point in the history
Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
  • Loading branch information
facutuesca and di authored Jan 10, 2025
1 parent 2bfd125 commit 5b0a592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warehouse/templates/manage/project/publishing.html
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ <h2 class="no-bottom-padding">{% trans %}Add a new publisher{% endtrans %}</h2>
{% set extra_description %}
<p>{% trans %}Restrict Trusted Publisher environment to: {% endtrans %}<strong>{{ constrained_environment_name }}</strong></p>
<ul class="no-bullets no-left-margin">
<li><input class="inline-checkbox" type="checkbox" data-action="input->confirm#check" data-confirm-target="checkbox"> {% trans %}I understand that this Trusted Publisher will only allow uploads frow CI/CD workflows running in {{ constrained_environment_name }}{% endtrans %}</li>
<li><input class="inline-checkbox" type="checkbox" data-action="input->confirm#check" data-confirm-target="checkbox"> {% trans %}I understand that this Trusted Publisher will only allow uploads frow CI/CD workflows running in the '{{ constrained_environment_name }}' environment.{% endtrans %}</li>
</ul>
{% endset %}
{{ confirm_modal(title=title, label=gettext("New Environment Name"), confirm_name="constrained_environment_name", confirm_string=constrained_environment_name, slug=slug, confirm_button_label=confirm_button_label, extra_fields=extra_fields, extra_description=extra_description, warning=False, confirm_string_in_title=False) }}
Expand Down

0 comments on commit 5b0a592

Please sign in to comment.