Skip to content

Commit

Permalink
wip csvs generated_url
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Nov 19, 2024
1 parent 124f806 commit badd71d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dashboard/templates/comprehensiveness_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{% block content %}
<div class="panel panel-default" id="h_table">
<div class="panel-heading">
<span class="pull-right"><a href="{{ static('data/csv/comprehensiveness_{}.csv'.format(tab)) }}">(This table as CSV)</a></span>
<span class="pull-right"><a href="{{ generated_url }}/data/csv/comprehensiveness_{{ tab }}.csv">(This table as CSV)</a></span>
<h3 class="panel-title">{% block table_title %}Table of Comprehensiveness values{% endblock %}</h3>
</div>

Expand Down
4 changes: 2 additions & 2 deletions dashboard/templates/elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<div class="panel panel-default">
<div class="panel-body">
<p>Download this data as CSV: <ul>
<li><a href="{{ static('data/csv/elements.csv') }}">Activities/Orgs with element/attribute per publisher</a></li>
<li><a href="{{ static('data/csv/elements_total.csv') }}">Total instances of element/attribute per publisher</a></li>
<li><a href="{{ generated_url }}/data/csv/elements.csv">Activities/Orgs with element/attribute per publisher</a></li>
<li><a href="{{ generated_url }}/data/csv/elements_total.csv">Total instances of element/attribute per publisher</a></li>
</ul></p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dashboard/templates/forwardlooking.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="panel panel-default" id="h_table">

<div class="panel-heading">
<span class="pull-right"><a href="{{ static('data/csv/forwardlooking.csv') }}">(This table as CSV)</a></span>
<span class="pull-right"><a href="{{ generated_url }}/data/csv/forwardlooking.csv">(This table as CSV)</a></span>
<h3 class="panel-title">Activities with Forward Looking Budget Allocations</h3>
</div>

Expand Down
2 changes: 1 addition & 1 deletion dashboard/templates/humanitarian.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<div class="panel panel-default" id="h_table">
<div class="panel-heading">
<span class="pull-right"><a href="{{ static('data/csv/humanitarian.csv') }}">(This table as CSV)</a></span>
<span class="pull-right"><a href="{{ generated_url }}/data/csv/humanitarian.csv">(This table as CSV)</a></span>
<h3 class="panel-title">Humanitarian</h3>
</div>

Expand Down
2 changes: 1 addition & 1 deletion dashboard/templates/publishers.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="col-xs-12">
<div class="panel panel-default">
<div class="panel-body">
<p style="float:right"><a href="{{ static('data/csv/publishers.csv') }}">(This table as CSV)</a></p>
<p style="float:right"><a href="{{ generated_url }}/data/csv/publishers.csv">(This table as CSV)</a></p>
<p>List of current active IATI publishers, Click on the publisher name for more details.</p>
{% include '_partials/tablesorter_instructions.html' %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion dashboard/templates/summary_stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="panel panel-default" id="h_table">
<div class="panel-heading">
<span class="pull-right"><a href="{{ static('data/csv/summary_stats.csv') }}">(This table as CSV)</a></span>
<span class="pull-right"><a href="{{ generated_url }}/data/csv/summary_stats.csv">(This table as CSV)</a></span>
<h3 class="panel-title">Summary Statistics</h3>
</div>

Expand Down
2 changes: 1 addition & 1 deletion dashboard/templates/timeliness.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="panel panel-default" id="h_table">

<div class="panel-heading">
<span class="pull-right"><a href="{{ static('data/csv/timeliness_frequency.csv') }}">(This table as CSV)</a></span>
<span class="pull-right"><a href="{{ generated_url }}/data/csv/timeliness_frequency.csv">(This table as CSV)</a></span>
<h3 class="panel-title">Table of Frequency assessments</h3>
</div>

Expand Down
2 changes: 1 addition & 1 deletion dashboard/templates/timeliness_timelag.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="panel panel-default" id="h_table">

<div class="panel-heading">
<span class="pull-right"><a href="{{ static('data/csv/timeliness_timelag.csv') }}">(This table as CSV)</a></span>
<span class="pull-right"><a href="{{ generated_url }}/data/csv/timeliness_timelag.csv">(This table as CSV)</a></span>
<h3 class="panel-title">Table of Time lag assessments</h3>
</div>

Expand Down

0 comments on commit badd71d

Please sign in to comment.