mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
match names to old reports, change buttons copy
This commit is contained in:
parent
b72919a892
commit
09c0a5f392
2 changed files with 5 additions and 5 deletions
|
@ -764,7 +764,7 @@ class DomainAdmin(ListHeaderAdmin):
|
||||||
response = HttpResponse(content_type="text/csv")
|
response = HttpResponse(content_type="text/csv")
|
||||||
response[
|
response[
|
||||||
"Content-Disposition"
|
"Content-Disposition"
|
||||||
] = 'attachment; filename="domains-current-full.csv"'
|
] = 'attachment; filename="current-full.csv"'
|
||||||
csv_export.export_data_full_to_csv(response)
|
csv_export.export_data_full_to_csv(response)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
@ -773,7 +773,7 @@ class DomainAdmin(ListHeaderAdmin):
|
||||||
response = HttpResponse(content_type="text/csv")
|
response = HttpResponse(content_type="text/csv")
|
||||||
response[
|
response[
|
||||||
"Content-Disposition"
|
"Content-Disposition"
|
||||||
] = 'attachment; filename="domains-current-federal.csv"'
|
] = 'attachment; filename="current-federal.csv"'
|
||||||
csv_export.export_data_federal_to_csv(response)
|
csv_export.export_data_federal_to_csv(response)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li>
|
<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>
|
||||||
<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>
|
||||||
<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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue