File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
warehouse/templates/manage Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ <h2>{% trans %}Archive project{% endtrans %}</h2>
365
365
{% endtrans %}
366
366
</ p >
367
367
</ div >
368
- {% if project.lifecycle_status == "archived" %}
368
+ {% if project.lifecycle_status in [ "archived", "archived-noindex"] %}
369
369
< a href ="#unarchive-project " class ="button button--primary ">
370
370
{% trans %}Unarchive project{% endtrans %}
371
371
</ a >
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ <h3 class="package-snippet__title">{{ project.name }}
78
78
{% if project.name in projects_sole_owned %}
79
79
< a href ="{{ request.route_path('manage.project.roles', project_name=project.normalized_name) }} " class ="badge badge--warning "> {% trans %}Sole owner{% endtrans %}</ a >
80
80
{% endif %}
81
- {% if project.lifecycle_status == "archived" %}
81
+ {% if project.lifecycle_status in [ "archived", "archived-noindex"] %}
82
82
< a href ="{{ request.route_path('manage.project.settings', project_name=project.normalized_name) }} " class ="badge badge--warning "> {% trans %}Archived{% endtrans %}</ a >
83
83
{% endif %}
84
84
</ h3 >
You can’t perform that action at this time.
0 commit comments