Commit df4e02e2 authored by Alejandro Asensio's avatar Alejandro Asensio
Browse files

feat: move download button to the right above table

parent 8678efe6
......@@ -44,7 +44,7 @@ tabs:
id: "specific_projects_variables"
title: "COVID-19 ISCIII's funded projects variables"
content:
- text: "The table below shows health variables reported by projects funded by the ISCIII funds Fondo COVID19. This information will be updated regularly as projects report new variables (last update February 9th, 2021)."
- text: "The table below shows health variables reported by projects funded by the ISCIII funds Fondo COVID19. This information will be updated regularly as projects report new variables."
data: "/files/health_isciii_variables.csv"
partial: "health_variables/isciii-table.html"
---
......@@ -34,13 +34,8 @@
<h6>{{ safeHTML .headers }}</h6>
{{ end }}
<p>{{ safeHTML .text }}</p>
{{ if and (ge $len 2) (eq $index $last) }}
{{ end }}
{{ end }}
</article>
{{ if isset . "data" }}
<a class="btn btn-primary" href="{{ .data }}" id="download-button-{{ $index }}">{{ i18n "download_csv" }}</a>
{{ end }}
{{ if isset . "partial" }}
{{ partial .partial $parentScope }}
{{ end }}
......
<div class="d-flex flex-row-reverse">
<a class="btn btn-primary" href="/files/health_isciii_variables.csv" id="download-button">{{ i18n "download_csv" }}</a>
</div>
<table class="table table-hover table-sm table-responsive mt-2" id="isciii-table" style="display: table;">
<thead class="thead-light">
<tr>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment