Skip to content

Commit

Permalink
Display rough sponsorship income estimates
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneCurcuru committed Feb 16, 2024
1 parent 0ae1f8c commit fa42313
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _layouts/sponsorship.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,21 @@ <h4>Level Benefits</h4>
</section>
{% endfor %}

{% assign reports = site.data.sponsorships.org-funding.orgs %}
{% if reports[page.identifier] %}
<h2 id="income">Sponsorship Income (Incomplete Estimate)</h2>
<div class="highlight">IMPORTANT: this is only a rough estimate of the organization's annual sponsorship income, based purely on the stated full-price levels of each sponsorship. Many factors change the actual amounts expected.</a></div>
<section id="sponsorship-income" class="sponsorship-income">
<ul>
{% for report in reports[page.identifier] %}
{% assign level_name = report[0] %}
{% assign level_display = level_map[level_name] %}
<li>{{ level_display | default: 'Overall Total' }} annually (USD): {{ report[1] }} </li>
{% endfor %}
</ul>
</section>
{% endif %}

<hr id="details"/>

{{ content }}
Expand Down

0 comments on commit fa42313

Please sign in to comment.