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>
365365 {% endtrans %}
366366 </ p >
367367 </ div >
368- {% if project.lifecycle_status == "archived" %}
368+ {% if project.lifecycle_status in [ "archived", "archived-noindex"] %}
369369 < a href ="#unarchive-project " class ="button button--primary ">
370370 {% trans %}Unarchive project{% endtrans %}
371371 </ a >
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ <h3 class="package-snippet__title">{{ project.name }}
7878 {% if project.name in projects_sole_owned %}
7979 < a href ="{{ request.route_path('manage.project.roles', project_name=project.normalized_name) }} " class ="badge badge--warning "> {% trans %}Sole owner{% endtrans %}</ a >
8080 {% endif %}
81- {% if project.lifecycle_status == "archived" %}
81+ {% if project.lifecycle_status in [ "archived", "archived-noindex"] %}
8282 < a href ="{{ request.route_path('manage.project.settings', project_name=project.normalized_name) }} " class ="badge badge--warning "> {% trans %}Archived{% endtrans %}</ a >
8383 {% endif %}
8484 </ h3 >
You can’t perform that action at this time.
0 commit comments