match names to old reports, change buttons copy

This commit is contained in:
Rachid Mrad 2023-10-27 11:35:06 -04:00
parent b72919a892
commit 09c0a5f392
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
2 changed files with 5 additions and 5 deletions

View file

@ -764,7 +764,7 @@ class DomainAdmin(ListHeaderAdmin):
response = HttpResponse(content_type="text/csv")
response[
"Content-Disposition"
] = 'attachment; filename="domains-current-full.csv"'
] = 'attachment; filename="current-full.csv"'
csv_export.export_data_full_to_csv(response)
return response
@ -773,7 +773,7 @@ class DomainAdmin(ListHeaderAdmin):
response = HttpResponse(content_type="text/csv")
response[
"Content-Disposition"
] = 'attachment; filename="domains-current-federal.csv"'
] = 'attachment; filename="current-federal.csv"'
csv_export.export_data_federal_to_csv(response)
return response

View file

@ -11,13 +11,13 @@
</li>
{% endif %}
<li>
<a href="{% url 'admin:registrar_domain_export_data_type' %}" class="button">Export domains (type)</a>
<a href="{% url 'admin:registrar_domain_export_data_type' %}" class="button">Export all domain metadata</a>
</li>
<li>
<a href="{% url 'admin:registrar_domain_export_data_full' %}" class="button">Export domains (full)</a>
<a href="{% url 'admin:registrar_domain_export_data_full' %}" class="button">Export current-full.csv</a>
</li>
<li>
<a href="{% url 'admin:registrar_domain_export_data_federal' %}" class="button">Export domains (federal)</a>
<a href="{% url 'admin:registrar_domain_export_data_federal' %}" class="button">Export current-federal.csv</a>
</li>
</ul>
{% endblock %}