Rename "unapprove" to "unpublish"

This commit is contained in:
rubenwardy 2023-10-15 22:16:05 +01:00
parent 40a59a4d31
commit a9533732f3
2 changed files with 2 additions and 2 deletions

@ -64,7 +64,7 @@ def get_package_tabs(user: User, package: Package):
},
{
"id": "remove",
"title": gettext("Remove"),
"title": gettext("Remove / Unpublish"),
"url": package.get_url("packages.remove")
}
]

@ -44,7 +44,7 @@ Remove {{ package.title }}
<input type="submit" name="delete" value="{{ _('Remove') }}" class="btn btn-danger me-2" />
{% if package.approved %}
<input type="submit" name="unapprove" value="{{ _('Unapprove') }}" class="btn btn-warning" />
<input type="submit" name="unapprove" value="{{ _('Unpublish') }}" class="btn btn-warning" />
{% endif %}
</form>
{% endblock %}