Skip to content

Commit

Permalink
EDEV-87: Fix "Download XLSX" and "CSV" dropdown (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs authored Mar 6, 2024
1 parent 97bcfdc commit 1f7554d
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
{% fragment as report_actions %}
<div class="report__actions">
{% if view.list_export %}
<div class="dropdown dropdown-button match-width">
<a href="{{ view.xlsx_export_url }}" class="button bicolor button--icon">{% icon name="download" wrapped=1 %}{% trans 'Download XLSX' %}</a>
<div class="dropdown-toggle">{% icon name="arrow-down" %}</div>
<ul>
<li><a class="button bicolor button--icon" href="{{ view.csv_export_url }}">{% icon name="download" wrapped=1 %}{% trans 'Download CSV' %}</a></li>
</ul>
</div>
{% include 'wagtailadmin/shared/export_buttons.html' %}
{% endif %}
</div>
{% endfragment %}
Expand Down

0 comments on commit 1f7554d

Please sign in to comment.