Skip to content

Commit

Permalink
Use new tab for download and report action #1524
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <[email protected]>
  • Loading branch information
tdruez committed Jan 22, 2025
1 parent 0297b40 commit f4df518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p class="modal-card-title">Download outputs for selected projects as ZIP file</p>
<button class="delete" aria-label="close"></button>
</header>
<form action="{% url 'project_action' %}" method="post" id="download-projects-form">{% csrf_token %}
<form action="{% url 'project_action' %}" method="post" id="download-projects-form" target="_blank">{% csrf_token %}
<section class="modal-card-body">
<div class="field">
<label class="label">{{ outputs_download_form.output_format.label }}</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p class="modal-card-title">Report of selected projects</p>
<button class="delete" aria-label="close"></button>
</header>
<form action="{% url 'project_action' %}" method="post" id="report-projects-form">{% csrf_token %}
<form action="{% url 'project_action' %}" method="post" id="report-projects-form" target="_blank">{% csrf_token %}
<section class="modal-card-body">
<div class="field">
<label class="label">{{ report_form.model_name.label }}</label>
Expand Down

0 comments on commit f4df518

Please sign in to comment.