diff --git a/competitions/100Change2025/ansible/roles/100Change2025/files/100ChangeProposal b/competitions/100Change2025/ansible/roles/100Change2025/files/100ChangeProposal new file mode 100644 index 0000000000000000000000000000000000000000..44d0f1841c0d13ce796d268a8e84d81740f4df29 --- /dev/null +++ b/competitions/100Change2025/ansible/roles/100Change2025/files/100ChangeProposal @@ -0,0 +1,933 @@ +<div id="primary-subject-area-options" class="torque-edit-options-list"> +{{ subject_area_table() }} +</div> +<div id="priority-populations-options" class="torque-edit-options-list"> +{{ populations_table() }} +</div> +<div id="budget-options" class="torque-edit-options-list"> +{{ budgets_table() }} +</div> +<div id="employee-options" class="torque-edit-options-list"> +{{ employees_table() }} +</div> +<div id="sdg-options" class="torque-edit-options-list"> +{{ sdgs_table() }} +</div> +<div id="caf-review-options" class="torque-edit-options-list"> +{| +|- +|Not Completed +|- +|In Progress +|- +|Completed +|} +</div> +<div id="organizational-circumstance-options" class="torque-edit-options-list"> +{| +|- +|Applicant Organization has an interim leadership team in place or is undergoing a leadership transition. +|- +|Applicant Organization is a defendant in a lawsuit, either pending or in process, where charges may include claims of discrimination, sexual misconduct, or fraud. +|- +|Substantial negative information about Applicant Organization has appeared repeatedly in print, broadcast, and/or on social media. +|- +|None of the above. +|} +</div> + +<div class="proposal-main-content"> +<div data-admin-review-question-dest="complete"></div> +<div data-admin-review-question-dest="appropriate"></div> +<div data-admin-review-question-dest="language"></div> + +<div class="proposal"> + +<div class="proposal-header"> +{% if 'Organization Name' in proposal and proposal['Organization Name'] -%} +<div class="h1">{{ proposal['Organization Name'] }}</div> +{% endif -%} + +{% if 'Project Title' in proposal and proposal['Project Title'] -%} +<div class="h2">{{ proposal['Project Title'] }}</div> +{% endif -%} +</div> + +<div class="proposal-body"> + +<div class="proposal-sidebar noprint"> +<div class="lfc--accordion"> +<div id="proposal-toc" class="accordion-item"> +<div class="accordion-title">Table of Contents</div> +<div class="accordion-content"> +__TOC__ +</div> +</div> +<div id="proposal-admin-review" data-show-if-outside-cache="accordion-admin-review" style="display:none" class="accordion-item"> +<div class="accordion-title">Admin Review</div> +<div class="accordion-content"> +<div class="lfc--inside-cache" id="accordion-admin-review"></div> +</div> +</div> +<div id="proposal-rankedchoice" data-show-if-outside-cache="accordion-rankedchoice" style="display:none" class="accordion-item"> +<div class="accordion-title">Ranking & Comments</div> +<div class="accordion-content"> +<div class="lfc--inside-cache" id="accordion-rankedchoice"></div> +</div> +</div> +{%- if "LLM LFC Analysis" in proposal and proposal ["LLM LFC Analysis"] -%} +<div id="proposal-analysis-support" class="accordion-item theme--llm open"> +<div class="accordion-title"> +<div class="with-icon"><html><svg width="24" height="24"><use href="/100Change2025/skins/LFCTheme/resources/images/sprites.svg#sparkles-24"></use></svg></html>Analysis Support</div> +</div> +<div class="accordion-content"> +<div class="torque--analysis-support-details"> +{%- for key in ['Project Overview', 'Strength of Approach', 'Potential Challenges', 'Diversity, Equity, Inclusion, and Accessibility', 'Other Considerations', 'Reputational Risks'] -%} +<html> +<details name="torque--analysis-support"> +<summary><span>{{key}}</span></summary> +</html> +<div class="torque--analysis-support-details--content"> +{{convert_md_to_mwiki(proposal["LLM LFC Analysis"][key]["value"])}} +</div> +<html> +</details> +</html> +{%- endfor -%} +</div> +</div> +</div> +{%- endif -%} +</div> +</div> + +<div class="proposal-content"> + +<div id="snapshot-accordion" class="lfc--accordion"> +<div id="proposal-snapshot" class="accordion-item open"> +<div class="accordion-title">Snapshot</div> +<div class="accordion-content"> +<div class="snapshot-columns"> +<dl class="lfc--datapairs"> +{% if 'Video' in proposal and proposal['Video'] -%} +<div class="pair"> +<dd> +{{ "{{" }} #evu:{{ proposal['Video'] }}|dimensions=400{{ "}}" }} +</dd> +</div> +{% endif -%} +{% if 'Rank' in proposal and proposal['Rank'] -%} +<div class="pair"> +<dt>Rank</dt> +<dd> +{{ proposal['Rank'] }} +</dd> +</div> +{% endif -%} +{% if 'Panel Score' in proposal and proposal['Panel Score'] -%} +<div class="pair"> +<dt>Panel Score</dt> +<dd> +{{ proposal['Panel Score']['LFC Normalized'] }} +</dd> +</div> +{% endif -%} +<div class="pair"> +<dt>Description of Work</dt> +<dd> +{% if 'Project Description' in proposal and proposal['Project Description'] -%} +{{ proposal['Project Description'] }} +{% else -%} +No Project Description +{% endif -%} +</dd> +</div> +{% if 'CAF Review' in proposal and proposal['CAF Review'] -%} +<div class="pair caf-review"> +<dt>CAF Review <span class="torque-edit-button" data-type="option" data-list-id="caf-review-options" data-field="CAF Review"></span></dt> +<dd> +{{ proposal['CAF Review'] }} +</dd> +</div> +{% endif -%} +</dl> +<dl class="lfc--datapairs"> +{% if 'Priority Populations' in proposal and proposal['Priority Populations'] -%} +<div class="pair"> +<dt>Priority populations</dt> +<dd> +{% for pop in proposal['Priority Populations'] %} +* {{ pop }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Primary Subject Area' in proposal and proposal['Primary Subject Area'] -%} +<div class="pair link-hierarchy"> +<dt>Primary Subject Area</dt> +<dd> +{% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 4'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 4'] }}]] +</span> +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Primary Subject Area Category' in proposal and proposal['Primary Subject Area Category'] -%} +<div class="pair"> +<dt>Primary Subject Area Category</dt> +<dd> +{{ proposal['Primary Subject Area Category'] }} +</dd> +</div> +{% endif -%} +{% if 'Annual Operating Budget' in proposal and proposal['Annual Operating Budget'] -%} +<div class="pair"> +<dt>Annual operating budget</dt> +<dd> +<span class="torque--explore-link" data-filter-name="annual_operating_budget" data-filter-value="{{proposal['Annual Operating Budget']}}">[[Special:TorqueExplore|{{proposal['Annual Operating Budget']}}]]</span></dd> +</div> +{% endif -%} +{% if 'Number of Employees' in proposal and proposal['Number of Employees'] -%} +<div class="pair"> +<dt>Number of employees</dt> +<dd> +<span class="torque--explore-link" data-filter-name="number_of_employes" data-filter-value="{{proposal['Number of Employees']}}">[[Special:TorqueExplore|{{proposal['Number of Employees']}}]]</span> +</dd> +</div> +{% endif -%} +</dl> +</div> +</div> +</div> +</div> + +<div class="proposal-section"> += Quick Pitch = +<dl class="lfc--datapairs"> +<div class="pair" data-admin-review-question-dest="activities"> +<dt>Description of Work <span class="torque-edit-button" data-type="section" data-field="Project Description"></span></dt> +<dd> +{% if 'Project Description' in proposal and proposal['Project Description'] -%} +<div> +{{ convert_md_to_mwiki(proposal['Project Description']) }} +</div> +{% else -%} +No Description of Work +{% endif -%} +</dd> +</div> +{% if 'Executive Summary' in proposal and proposal['Executive Summary'] -%} +<div class="pair"> +<dt>Executive Summary <span class="torque-edit-button" data-type="section" data-field="Executive Summary"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Executive Summary']) }} +</div> +</dd> +</div> +{% endif -%} +</dl> +</div> + +{% if 'Video' in proposal and proposal['Video'] -%} +<div class="proposal-section" data-admin-review-question-dest="video"> += Video Presentation = +<div class="noprint"> +<ifvideocacheexists url="{{ proposal['Video'] }}"> +<span class="plainlinks">[{{ "{{" }}fullurl:Special:VideoCacheDownload|url={{ proposal ['Video'] }}{{ "}}" }} Download video from Cache]</span> +</ifvideocacheexists> +</div> +{{ proposal['Video'] }} +<div class="noprint">{{ "{{#evu:" }}{{ proposal['Video'] }}{{ "}}" }}</div> +</div> +{% else -%} +<div class="proposal-section" data-admin-review-question-dest="video"> += Video Presentation = + +No Video Presentation Available +</div> +{% endif -%} + +<div class="proposal-section"> += Your Team = +<dl class="lfc--datapairs"> +{% if 'Organization Website' in proposal and proposal['Organization Website'] -%} +<div class="pair"> +<dt>Organization Website <span class="torque-edit-button" data-type="line" data-field="Organization Website"></span></dt> +<dd> +{{ proposal['Organization Website'] }} +</dd> +</div> +{% endif -%} +{% if 'Project Website' in proposal and proposal['Project Website'] -%} +<div class="pair"> +<dt>Project Website <span class="torque-edit-button" data-type="line" data-field="Project Website"></span></dt> +<dd> +{{ proposal['Project Website'] }} +</dd> +</div> +{% endif -%} +{% if 'Primary Area of Expertise' in proposal and proposal['Primary Area of Expertise'] -%} +<div class="pair"> +<dt>Primary Area of Expertise <span class="torque-edit-button" data-type="line" data-field="Primary Area of Expertise"></span></dt> +<dd> +{{ proposal['Primary Area of Expertise'] }} +</dd> +</div> +{% endif -%} +<div class="pair" data-admin-review-question-dest="mou"> +<dt>Team Collaboration <span class="torque-edit-button" data-type="line" data-field="Team Collaboration"></span></dt> +<dd> +{% if 'Team Collaboration' in proposal and proposal['Team Collaboration'] -%} +{{ proposal['Team Collaboration'] }} +{% else -%} +No Team Collaboration +{% endif -%} +</dd> +</div> +{% if 'Key Partners' in proposal and proposal['Key Partners'] -%} +<div class="pair"> +<dt>Partners</dt> +<dd> +{% for key_partner in proposal['Key Partners'] %} +=== {{ key_partner['Name'] }} === + +{{ key_partner['Additional Information'] }} +{% endfor %} +</dd> +</div> +{% endif -%} +<div class="pair"> +<dt>MOU</dt> +<dd> +<div class="lfc--inside-cache" id="mou-display"></div> +</dd> +</div> +{% if 'Case for Partnership' in proposal and proposal['Case for Partnership'] -%} +<div class="pair"> +<dt>Case for Partnership <span class="torque-edit-button" data-type="line" data-field="Case for Partnership"></span></dt> +<dd> +{{ proposal['Case for Partnership'] }} +</dd> +</div> +{% endif -%} +{% if 'Why Your Team' in proposal and proposal['Why Your Team'] -%} +<div class="pair"> +<dt>Why Your Team <span class="torque-edit-button" data-type="section" data-field="Why Your Team"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Why Your Team']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Key Staff' in proposal and proposal['Key Staff'] -%} +<div class="pair"> +<dt>Biographies of Key Staff</dt> +<dd> +{% for member in proposal['Key Staff'] %} +* '''{{ member['Person']['First Name'] }} {{ member['Person']['Last Name'] }}{% if member['Affiliation'] %}, {{ member['Affiliation'] }}{% endif %}''': {{ member['Biography'] }} +{% endfor %} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += The Challenge = +<dl class="lfc--datapairs"> +{% if 'Challenge Statement' in proposal and proposal['Challenge Statement'] -%} +<div class="pair"> +<dt>Challenge Statement <span class="torque-edit-button" data-type="line" data-field="Challenge Statement"></span></dt> +<dd> +{{ proposal['Challenge Statement'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Your Solution = +<dl class="lfc--datapairs"> +<div class="pair" data-admin-review-question-dest="solution_stage"> +<dt>Solution Stage <span class="torque-edit-button" data-type="line" data-field="Solution Stage"></span></dt> +<dd> +{% if 'Solution Stage' in proposal and proposal['Solution Stage'] -%} +{{ proposal['Solution Stage'] }} +{% else -%} +No Solution Stage available +{% endif -%} +</dd> +</div> +<div class="pair" data-admin-review-question-dest="project_based"> +<dt>Overview of Work <span class="torque-edit-button" data-type="section" data-field="Solution Overview"></span></dt> +<dd> +{% if 'Solution Overview' in proposal and proposal['Solution Overview'] -%} +<div> +{{ convert_md_to_mwiki(proposal['Solution Overview']) }} +</div> +{% else -%} +No Solution Overview +{% endif -%} +</dd> +</div> +{% if 'Technical Process Description' in proposal and proposal['Technical Process Description'] -%} +<div class="pair"> +<dt>Technical Process Description <span class="torque-edit-button" data-type="line" data-field="Technical Process Description"></span></dt> +<dd> +{{ proposal['Technical Process Description'] }} +</dd> +</div> +{% endif -%} +{% if 'Priority Populations' in proposal and proposal['Priority Populations'] -%} +<div class="pair"> +<dt>Priority Populations <span class="torque-edit-button" data-type="list-of-options" data-list-id="priority-populations-options" data-field="Priority Populations"></span></dt> +<dd> +{% for idx in range(proposal['Priority Populations']|length) %} +{% set pop = proposal['Priority Populations'][idx] -%} +* <span class="torque--explore-link" data-filter-name="priority_populations" data-filter-value="{{pop}}">[[Special:TorqueExplore|{{pop}}]]</span>: {{proposal['Approximate Proportion of Total Community Served Represented by Population ' ~ (idx + 1)] }}% +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Diversity-Equity-Inclusion' in proposal and proposal['Diversity-Equity-Inclusion'] -%} +<div class="pair"> +<dt>Diversity-Equity-Inclusion <span class="torque-edit-button" data-type="section" data-field="Diversity-Equity-Inclusion"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Diversity-Equity-Inclusion']) }} +</div> +</dd> +</div> +{% endif -%} + +{% if 'Opportunities and Accommodations' in proposal and proposal['Opportunities and Accommodations'] -%} +<div class="pair"> +<dt>Opportunities and Accommodations <span class="torque-edit-button" data-type="line" data-field="Opportunities and Accommodations"></span></dt> +<dd> +{{ proposal['Opportunities and Accommodations'] }} +</dd> +</div> +{% endif -%} + +{% if 'Theory of Change' in proposal and proposal['Theory of Change'] -%} +<div class="pair"> +<dt>Theory of Change <span class="torque-edit-button" data-type="line" data-field="Theory of Change"></span></dt> +<dd> +{{ proposal['Theory of Change'] }} +</dd> +</div> +{% endif -%} + +{% if 'Barrier Assessment and Risk Mitigation' in proposal and proposal['Barrier Assessment and Risk Mitigation'] -%} +<div class="pair"> +<dt>Barrier Assessment and Risk Mitigation <span class="torque-edit-button" data-type="line" data-field="Barrier Assessment and Risk Mitigation"></span></dt> +<dd> +{{ proposal['Barrier Assessment and Risk Mitigation'] }} +</dd> +</div> +{% endif -%} + +{% if 'Primary Subject Area' in proposal and proposal['Primary Subject Area'] -%} +<div class="pair"> +<dt>Primary Subject Area <span class="torque-edit-button" data-type="option" data-list-id="primary-subject-area-options" data-field="Primary Subject Area"></span></dt> +<dd> +{% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 4'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 4'] }}]] +</span> +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Additional Subject Areas' in proposal and proposal['Additional Subject Areas'] -%} +<div class="pair"> +<dt>Secondary Subject Area <span class="torque-edit-button" data-type="option" data-list-id="primary-subject-area-options" data-field="Additional Subject Areas"></span></dt> +<dd> +{% if proposal['Additional Subject Areas']['Level'] == 'Level 1' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 2' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 3' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} > {{ proposal['Additional Subject Areas']['Level 3'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 4' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} > {{ proposal['Additional Subject Areas']['Level 3'] }} > {{ proposal['Additional Subject Areas']['Level 4'] }} +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Current Work Locations' in proposal and proposal['Current Work Locations'] -%} +<div class="pair"> +<dt>Location of Current Work</dt> +<dd> +{% for location in proposal['Current Work Locations'] %} +{% if location['State/Province'] -%} +* <span class="torque--explore-link" data-filter-name="current_work_locations" data-filter-value="{{location['State/Province']}}">[[Special:TorqueExplore|{{location['State/Province'],location['Country']}}]]</span> +{% else -%} +* <span class="torque--explore-link" data-filter-name="current_work_locations" data-filter-value="{{location['Country']}}">[[Special:TorqueExplore|{{location['Country']}}]]</span> +{% endif -%} +{% endfor -%} +</dd> +</div> +{% endif -%} +{% if 'Future Work Locations' in proposal and proposal['Future Work Locations'] -%} +<div class="pair"> +<dt>Location of Future Work</dt> +<dd> +{% for location in proposal['Future Work Locations'] %} +{% if location['State/Province'] -%} +* <span class="torque--explore-link" data-filter-name="future_work_locations" data-filter-value="{{location['State/Province']}}">[[Special:TorqueExplore|{{location['State/Province'],location['Country']}}]]</span> +{% else -%} +* <span class="torque--explore-link" data-filter-name="future_work_locations" data-filter-value="{{location['Country']}}">[[Special:TorqueExplore|{{location['Country']}}]]</span> +{% endif -%} +{% endfor -%} +</dd> +</div> +{% endif -%} +{% if 'Key Words and Phrases' in proposal and proposal['Key Words and Phrases'] -%} +<div class="pair"> +<dt>Key words</dt> +<dd> +{% for key_word in proposal['Key Words and Phrases'] %} +* {{ key_word }} +{% endfor %} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Project Impact = +<dl class="lfc--datapairs"> + +{% if 'Evidence of Effectiveness' in proposal and proposal['Evidence of Effectiveness'] -%} +<div class="pair"> +<dt>Evidence of Effectiveness <span class="torque-edit-button" data-type="line" data-field="Evidence of Effectiveness"></span></dt> +<dd> +{{ proposal['Evidence of Effectiveness'] }} +</dd> +</div> +{% endif -%} + +<div class="pair" data-admin-review-question-dest="type_of_evidence"> +<dt>Type of Evidence <span class="torque-edit-button" data-type="line" data-field="Type of Evidence"></span></dt> +<dd> +{% if 'Type of Evidence' in proposal and proposal['Type of Evidence'] -%} +{% for toe in proposal['Type of Evidence'] %} +* {{ toe }} +{% endfor %} +{% else -%} +No Type of Evidence available +{% endif -%} +</dd> +</div> +{% if 'Measurement of Results' in proposal and proposal['Measurement of Results'] -%} +<div class="pair"> +<dt>Assessment of Results <span class="torque-edit-button" data-type="section" data-field="Measurement of Results"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Measurement of Results']) }} +</div> +</dd> +</div> +{% endif -%} + +{% if 'Ability To Scale' in proposal and proposal['Ability To Scale'] -%} +<div class="pair"> +<dt>Ability To Scale <span class="torque-edit-button" data-type="line" data-field="Ability To Scale"></span></dt> +<dd> +{{ proposal['Ability To Scale'] }} +</dd> +</div> +{% endif -%} + +{% if 'Bibliography' in proposal and proposal['Bibliography'] -%} +<div class="pair"> +<dt>Bibliography <span class="torque-edit-button" data-type="line" data-field="Bibliography"></span></dt> +<dd> +{{ proposal['Bibliography'] }} +</dd> +</div> +{% endif -%} + +</dl> +</div> + +<div class="proposal-section"> += Resource Requirements = +<dl class="lfc--datapairs"> + +{% if 'Project Phases' in proposal and proposal['Project Phases'] -%} +<div class="pair" data-admin-review-question-dest="budget_guidelines"> +<dt>Project Phases</dt> +<dd> + +== Total Budget Breakdown == +{| class="wikitable bs-exportable exportable sortable" +! style="max-width:450px" | '''Line Item''' +! style="max-width:100px" | '''Amount''' +{% for line in proposal['Budget Breakdown: Total Costs'] %} +|- +| {{ line['description'] }} +| ${{ commaize_number(line['amount']) }} +{% endfor %} +|} + +{% for phase in proposal['Project Phases'] %} +=== {{ phase["Name"] }} ({{ phase["Duration"]}} months) === + +{{phase["Description"]}} + +{| class="wikitable bs-exportable exportable sortable" +! style="max-width:450px" | '''Line Item''' +! style="max-width:100px" | '''Amount''' +{% for line in phase['Budget Sub-Total'] %} +|- +| {{ line['description'] }} +| ${{ commaize_number(line['amount']) }} +{% endfor %} +|} +{% endfor %} +</dd> +</div> +{% endif -%} + +{% if 'Total Resource Requirements' in proposal and proposal['Total Resource Requirements'] -%} +<div class="pair"> +<dt>Total Resource Requirements <span class="torque-edit-button" data-type="line" data-field="Total Resource Requirements"></span></dt> +<dd> +{{ proposal['Total Resource Requirements'] }} +</dd> +</div> +{% endif -%} + +{% if 'Funders' in proposal and proposal['Funders'] -%} +<div class="pair"> +<dt>Current/Previous Funders</dt> +<dd> +{% for member in proposal['Funders'] %} +<p> +'''Funder:''' {{ member['Name'] }}<br /> +'''First Year of Funding:''' {{ member['First Year of Funding'] }}<br /> +'''Last Year of Funding:''' {{ member['Last Year of Funding'] }}<br /> +'''Amount:''' ${{ commaize_number(member['Amount of Funding']) }} +</p> +{% endfor %} +</dd> +</div> +{% endif -%} + +<div class="pair"> +<dt>Budget Narrative <span class="torque-edit-button" data-type="line" data-field="Budget Narrative"></span></dt> +<dd> +{% if 'Budget Narrative' in proposal and proposal['Budget Narrative'] -%} +{{ proposal['Budget Narrative'] }} +{% else -%} +No Budget Narrative Available +{% endif -%} +</dd> +</div> + + +{% if 'Financial Sustainability' in proposal and proposal['Financial Sustainability'] -%} +<div class="pair"> +<dt>Financial Sustainability <span class="torque-edit-button" data-type="line" data-field="Financial Sustainability"></span></dt> +<dd> +{{ proposal['Financial Sustainability'] }} +</dd> +</div> +{% endif -%} + +{% if 'Other Resource Requirements' in proposal and proposal['Other Resource Requirements'] -%} +<div class="pair"> +<dt>Other Resource Requirements <span class="torque-edit-button" data-type="line" data-field="Other Resource Requirements"></span></dt> +<dd> +{{ proposal['Other Resource Requirements'] }} +</dd> +</div> +{% endif -%} + +</dl> +</div> + +<div class="proposal-section"> += Legal Compliance = +<dl class="lfc--datapairs"> + +{% if 'Charitable Purpose' in proposal and proposal['Charitable Purpose'] -%} +<div class="pair"> +<dt>Charitable Purpose <span class="torque-edit-button" data-type="line" data-field="Charitable Purpose"></span></dt> +<dd> +{{ proposal['Charitable Purpose'] }} +</dd> +</div> +{% endif -%} + +<div class="pair" data-admin-review-question-dest="private_benefit"> +<dt>Private Benefit <span class="torque-edit-button" data-type="line" data-field="Private Benefit"></span></dt> +<dd> +{% if 'Private Benefit' in proposal and proposal['Private Benefit'] -%} +{{ proposal['Private Benefit'] }} +{% else -%} +No Private Benefit information available. +{% endif -%} +</dd> +</div> + +<div class="pair" data-admin-review-question-dest="lobbying"> +<dt>Lobbying Activities <span class="torque-edit-button" data-type="line" data-field="Lobbying Activities"></span></dt> +<dd> +{% if 'Lobbying Activities' in proposal and proposal['Lobbying Activities'] -%} +{{ proposal['Lobbying Activities'] }} +{% else -%} +No Lobbying Activities available. +{% endif -%} +</dd> +</div> + +{% if 'Human Subject Research' in proposal and proposal['Human Subject Research'] -%} +<div class="pair"> +<dt>Human Subject Research <span class="torque-edit-button" data-type="line" data-field="Human Subject Research"></span></dt> +<dd> +{{ proposal['Human Subject Research'] }} +</dd> +</div> +{% endif -%} + +{% if 'Intellectual Property' in proposal and proposal['Intellectual Property'] -%} +<div class="pair"> +<dt>Intellectual Property <span class="torque-edit-button" data-type="line" data-field="Intellectual Property"></span></dt> +<dd> +{{ proposal['Intellectual Property'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Administrative Information = +<dl class="lfc--datapairs horizontal"> + +{% if 'Application #' in proposal and proposal['Application #'] -%} +<div class="pair"> +<dt>Application #</dt> +<dd> +{{ proposal['Application #'] }} +</dd> +</div> +{% endif -%} +{% if 'Organization Name' in proposal and proposal['Organization Name'] -%} +<div class="pair"> +<dt>Organization Name <span class="torque-edit-button" data-type="line" data-field="Organization Name"></span></dt> +<dd> +{{ proposal['Organization Name'] }} +</dd> +</div> +{% endif -%} +{% if 'Primary Contact' in proposal and proposal['Primary Contact'] -%} +<div class="pair"> +<dt>Primary Contact</dt> +<dd> +<div> +{% if proposal['Primary Contact']['First Name'] %}{{ proposal['Primary Contact']['First Name'] }} {{ proposal['Primary Contact']['Last Name'] }}{% if proposal['Primary Contact']['Title'] %} ({{ proposal['Primary Contact']['Title'] }}){% endif %}<br/> +{% endif -%} +{% if proposal['Primary Contact']['Phone'] %}{{ proposal['Primary Contact']['Phone'] }}<br/> +{% endif -%} +{% if proposal['Primary Contact']['Email'] %}{{ proposal['Primary Contact']['Email'] }}<br/> +{% endif -%} +</div> +</dd> +</div> +{% endif -%} +{% if 'Secondary Contact' in proposal and proposal['Secondary Contact'] -%} +<div class="pair"> +<dt>Seconary Contact</dt> +<dd> +<div> +{% if proposal['Secondary Contact']['First Name'] %}{{ proposal['Secondary Contact']['First Name'] }} {{ proposal['Secondary Contact']['Last Name'] }}{% if proposal['Secondary Contact']['Title'] %} ({{ proposal['Secondary Contact']['Title'] }}){% endif %}<br/> +{% endif -%} +{% if proposal['Secondary Contact']['Phone'] %}{{ proposal['Secondary Contact']['Phone'] }}<br/> +{% endif -%} +{% if proposal['Secondary Contact']['Email'] %}{{ proposal['Secondary Contact']['Email'] }}<br/> +{% endif -%} +</div> +</dd> +</div> +{% endif -%} +<div class="pair" data-admin-review-question-dest="eligible"> +<dt>Organization Legal Status</dt> +<dd> +{% if 'Organization Legal Status' in proposal and proposal['Organization Legal Status'] -%} +{{ proposal['Organization Legal Status'] }} +{% else -%} +No Organization Legal Status Entered +{% endif -%} +</dd> +</div> +{% if 'Applicant Tax Identification Number' in proposal and proposal['Applicant Tax Identification Number'] -%} +<div class="pair"> +<dt>Applicant Tax Identification Number <span class="torque-edit-button" data-type="line" data-field="Applicant Tax Identification Number"></span></dt> +<dd> +{{ proposal['Applicant Tax Identification Number'] }} +</dd> +</div> +{% endif -%} +{% if 'Annual Operating Budget 2019' in proposal and proposal['Annual Operating Budget 2019'] -%} +<div class="pair"> +<dt>Annual Operating Budget 2019</dt> +<dd> +{{ proposal['Annual Operating Budget 2019'] }} +</dd> +</div> +{% endif -%} +{% if 'Number of Employees' in proposal and proposal['Number of Employees'] -%} +<div class="pair"> +<dt>Number of Employees <span class="torque-edit-button" data-type="option" data-list-id="employee-options" data-field="Number of Employees"></span></dt> +<dd> +{{ proposal['Number of Employees'] }} +</dd> +</div> +{% endif -%} +{% if 'Organization Leadership' in proposal and proposal['Organization Leadership'] -%} +<div class="pair"> +<dt>Organization Leadership</dt> +<dd> +{{ proposal['Organization Leadership'] }} +</dd> +</div> +{% endif -%} +{% if 'How did you hear about 100andChange?' in proposal and proposal['How did you hear about 100andChange?'] -%} +<div class="pair"> +<dt>How did you hear about 100andChange?</dt> +<dd> +{{ proposal['How did you hear about 100andChange?'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Additional Due Diligence = +<dl class="lfc--datapairs"> +<div class="pair" data-admin-review-question-dest="financials"> +<dt>Audited Financial Records</dt> +<dd> +<div class="lfc--inside-cache" id="financial-display"></div> +</dd> +</div> +{% if 'Attachments' in proposal and proposal['Attachments'] -%} +{%- for attachment_group in ["Default"] %} +<div class="pair"> +<dt>{{ attachment_group }}</dt> +<dd> +{%- for attachment in proposal['Attachments'].get(attachment_group, []) %} +* <span class="plainlinks">[{{ "{{" }}fullurl:Special:TorqueAttachment|collection_name={{proposal['Competition Name']}}&id={{proposal['Application #']}}&attachment={{ attachment["file"] | replace(" ", "+") | urlencode }}{{ "}}" }} {{ attachment["file"] }}]</span> +{% endfor -%} +</dd> +</div> +{% endfor -%} +{% endif -%} +</dl> +</div> +</div> + +</div> + +</div> + +</div> diff --git a/competitions/100Change2025/ansible/roles/100Change2025/tasks/main.yml b/competitions/100Change2025/ansible/roles/100Change2025/tasks/main.yml index c59fc68bb61805a7e6926106f6bad69cdbde2c6e..2f1518a9f5ca6244a531ad6c726c55abf3d07b82 100644 --- a/competitions/100Change2025/ansible/roles/100Change2025/tasks/main.yml +++ b/competitions/100Change2025/ansible/roles/100Change2025/tasks/main.yml @@ -52,3 +52,15 @@ path: "{{ mediawiki_install_directory }}/LFC_Analysis" state: absent +- name: Transfer 100Change2025 Proposal + copy: + src: 100Change2025 + dest: "{{ mediawiki_install_directory }}/100ChangeProposal" + +- name: Install 100Change2025 Proposal + raw: "php {{ mediawiki_install_directory }}/mediawiki-{{ mediawiki_version }}/maintenance/edit.php -b TorqueConfig:100ChangeProposal < {{ mediawiki_install_directory }}/100ChangeProposal" + +- name: Remove 100Change2025 Proposal + file: + path: "{{ mediawiki_install_directory }}/100ChangeProposal" + state: absent diff --git a/competitions/AFWH/ansible/roles/AFWH/files/AFWHProposal b/competitions/AFWH/ansible/roles/AFWH/files/AFWHProposal new file mode 100644 index 0000000000000000000000000000000000000000..60c2b02efb3f811764d8d9cb485bfad5aca83a89 --- /dev/null +++ b/competitions/AFWH/ansible/roles/AFWH/files/AFWHProposal @@ -0,0 +1,665 @@ +<div id="primary-subject-area-options" class="torque-edit-options-list"> +{{ subject_area_table() }} +</div> +<div id="priority-populations-options" class="torque-edit-options-list"> +{{ populations_table() }} +</div> +<div id="employee-options" class="torque-edit-options-list"> +{{ employees_table() }} +</div> + +<div class="proposal-main-content"> + +<div class="proposal"> + +<div class="proposal-header"> +{% if 'Organization Name' in proposal and proposal['Organization Name'] -%} +<div class="h1">{{ proposal['Organization Name'] }}</div> +{% endif -%} + +</div> + +<div class="proposal-body"> + +<div class="proposal-sidebar noprint"> +<div class="lfc--accordion"> +<div id="proposal-toc" class="accordion-item"> +<div class="accordion-title">Table of Contents</div> +<div class="accordion-content"> +__TOC__ +</div> +</div> +<div id="proposal-admin-review" data-show-if-outside-cache="accordion-admin-review" style="display:none" class="accordion-item open"> +<div class="accordion-title">Admin Review</div> +<div class="accordion-content"> +<div class="lfc--inside-cache" id="accordion-admin-review"></div> +</div> +</div> +</div> +</div> + +<div class="proposal-content"> + +<div id="snapshot-accordion" class="lfc--accordion"> +<div id="proposal-snapshot" class="accordion-item open"> +<div class="accordion-title">Snapshot</div> +<div class="accordion-content"> +<div class="snapshot-columns"> +<dl class="lfc--datapairs"> +{% if 'Video' in proposal and proposal['Video'] -%} +<div class="pair"> +<dd> +{{ "{{" }} #evu:{{ proposal['Video'] }}|dimensions=400{{ "}}" }} +</dd> +</div> +{% endif -%} +{% if 'Rank' in proposal and proposal['Rank'] -%} +<div class="pair"> +<dt>Rank</dt> +<dd> +{{ proposal['Rank'] }} +</dd> +</div> +{% endif -%} +{% if 'Panel Score' in proposal and proposal['Panel Score'] -%} +<div class="pair"> +<dt>Panel Score</dt> +<dd> +{{ proposal['Panel Score']['Normalized'] }} +</dd> +</div> +{% endif -%} +{% if 'Project Description' in proposal and proposal['Project Description'] -%} +<div class="pair"> +<dt>Description of Work</dt> +<dd> +{{ proposal['Project Description'] }} +</dd> +</div> +{% endif -%} +</dl> +<dl class="lfc--datapairs"> +{% if 'Priority Populations' in proposal and proposal['Priority Populations'] -%} +<div class="pair"> +<dt>Priority populations</dt> +<dd> +{% for pop in proposal['Priority Populations'] %} +* {{ pop }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Primary Subject Area' in proposal and proposal['Primary Subject Area'] -%} +<div class="pair link-hierarchy"> +<dt>Primary Subject Area</dt> +<dd> +{% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 4'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 4'] }}]] +</span> +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Annual Operating Budget' in proposal and proposal['Annual Operating Budget'] -%} +<div class="pair"> +<dt>Annual operating budget</dt> +<dd> +<span class="torque--explore-link" data-filter-name="annual_operating_budget" data-filter-value="{{proposal['Annual Operating Budget']}}">[[Special:TorqueExplore|{{proposal['Annual Operating Budget']}}]]</span></dd> +</dd> +</div> +{% endif -%} +{% if 'Number of Employees' in proposal and proposal['Number of Employees'] -%} +<div class="pair"> +<dt>Number of employees</dt> +<dd> +<span class="torque--explore-link" data-filter-name="number_of_employes" data-filter-value="{{proposal['Number of Employees']}}">[[Special:TorqueExplore|{{proposal['Number of Employees']}}]]</span> +</dd> +</div> +{% endif -%} +{% if 'Key Words and Phrases' in proposal and proposal['Key Words and Phrases'] -%} +<div class="pair"> +<dt>Key words</dt> +<dd> +{% for key_word in proposal['Key Words and Phrases'] %} +* {{ key_word }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Future Work Locations' in proposal and proposal['Future Work Locations'] -%} +<div class="pair"> +<dt>Where do you intend to implement your proposed project?</dt> +<dd> +{% for location in proposal['Future Work Locations'] %} +{% if location['State/Province'] -%} +* <span class="torque--explore-link" data-filter-name="future_work_locations" data-filter-value="{{location['State/Province']}}">[[Special:TorqueExplore|{{location['State/Province'],location['Country']}}]]</span> +{% else -%} +* <span class="torque--explore-link" data-filter-name="future_work_locations" data-filter-value="{{location['Country']}}">[[Special:TorqueExplore|{{location['Country']}}]]</span> +{% endif -%} +{% endfor -%} +</dd> +</div> +{% endif -%} +</dl> +</div> +</div> +</div> +</div> + +<div class="proposal-section"> += Registration Information = +<dl class="lfc--datapairs horizontal"> +{% if 'Application #' in proposal and proposal['Application #'] -%} +<div class="pair"> +<dt>Application #</dt> +<dd> +{{ proposal['Application #'] }} +</dd> +</div> +{% endif -%} +{% if 'Submittable ID' in proposal and proposal['Submittable ID'] -%} +<div class="pair"> +<dt>Submittable ID</dt> +<dd> +{{ proposal['Submittable ID'] }} +</dd> +</div> +{% endif -%} +{% if 'Organization Legal Status' in proposal and proposal['Organization Legal Status'] -%} +<div class="pair"> +<dt>Organization Legal Status</dt> +<dd> +{{ proposal['Organization Legal Status'] }} +</dd> +</div> +{% endif -%} +{% if 'Organization Name' in proposal and proposal['Organization Name'] -%} +<div class="pair"> +<dt>Lead Organization Name <span class="torque-edit-button" data-type="line" data-field="Organization Name"></span></dt> +<dd> +{{ proposal['Organization Name'] }} +</dd> +</div> +{% endif -%} +{% if 'Organization Location' in proposal and proposal['Organization Location'] -%} +<div class="pair"> +<dt>Lead Organization Address</dt> +<dd> +<div> +{% if proposal['Organization Location']['Street Address'] %}{{ proposal['Organization Location']['Street Address'] }}<br /> +{% endif -%} +{% if proposal['Organization Location']['Address Line 2'] %}{{ proposal['Organization Location']['Address Line 2'] }}<br /> +{% endif -%} +{% if proposal['Organization Location']['City'] %}{{ proposal['Organization Location']['City'] }}{% if proposal['Organization Location']['State/Province'] %}, [[Organization_Location#{{ proposal['Organization Location']['State/Province'] }}|{{ proposal['Organization Location']['State/Province'] }}]]{% endif %}{% if proposal['Organization Location']['Zip/Postal Code'] %} {{ proposal['Organization Location']['Zip/Postal Code'] }}{% endif %}<br /> +{% endif -%} +{% if proposal['Organization Location']['Locality/District/County'] %}{{ proposal['Organization Location']['Locality/District/County'] }}<br /> +{% endif -%} +{% if proposal['Organization Location']['Country'] %}[[Organization_Location#{{ proposal['Organization Location']['Country'] }}|{{ proposal['Organization Location']['Country'] }}]]<br /> +{% endif -%} +</div> +</dd> +</div> +{% endif -%} +{% if 'Applicant Tax Identification Number' in proposal and proposal['Applicant Tax Identification Number'] -%} +<div class="pair"> +<dt>Applicant Tax Identification Number <span class="torque-edit-button" data-type="line" data-field="Applicant Tax Identification Number"></span></dt> +<dd> +{{ proposal['Applicant Tax Identification Number'] }} +</dd> +</div> +{% endif -%} +{% if 'year of Formation' in proposal and proposal['year of Formation'] -%} +<div class="pair"> +<dt>Year of Formation <span class="torque-edit-button" data-type="line" data-field="Year of Formation"></span></dt> +<dd> +{{ proposal['Year of Formation'] }} +</dd> +</div> +{% endif -%} +{% if 'Organization Website' in proposal and proposal['Organization Website'] -%} +<div class="pair"> +<dt>Lead Organization Website or Social media Page <span class="torque-edit-button" data-type="line" data-field="Organization Website"></span></dt> +<dd> +{{ proposal['Organization Website'] }} +</dd> +</div> +{% endif -%} +{% if 'Primary Contact' in proposal and proposal['Primary Contact'] -%} +<div class="pair"> +<dt>Primary Contact</dt> +<dd> +<div> +{% if proposal['Primary Contact']['First Name'] %}'''{{ proposal['Primary Contact']['First Name'] }} {{ proposal['Primary Contact']['Last Name'] }}'''{% if proposal['Primary Contact']['Title'] %}, {{ proposal['Primary Contact']['Title'] }}{% endif %}<br/> +{% endif -%} +{% if proposal['Primary Contact']['Phone'] %}{{ proposal['Primary Contact']['Phone'] }}<br/> +{% endif -%} +{% if proposal['Primary Contact']['Email'] %}{{ proposal['Primary Contact']['Email'] }}<br/> +{% endif -%} +</div> +</dd> +</div> +{% endif -%} +{% if 'Secondary Contact' in proposal and proposal['Secondary Contact'] -%} +<div class="pair"> +<dt>Seconary Contact</dt> +<dd> +<div> +{% if proposal['Secondary Contact']['First Name'] %}{{ proposal['Secondary Contact']['First Name'] }} {{ proposal['Secondary Contact']['Last Name'] }}{% if proposal['Secondary Contact']['Title'] %} ({{ proposal['Secondary Contact']['Title'] }}){% endif %}<br/> +{% endif -%} +{% if proposal['Secondary Contact']['Phone'] %}{{ proposal['Secondary Contact']['Phone'] }}<br/> +{% endif -%} +{% if proposal['Secondary Contact']['Email'] %}{{ proposal['Secondary Contact']['Email'] }}<br/> +{% endif -%} +</div> +</dd> +</div> +{% endif -%} +{% if 'Source' in proposal and proposal['Source'] -%} +<div class="pair"> +<dt>How did you hear about the Gulf Futures Challenge?</dt> +<dd> +{{proposal["Source"]["Source"]}} +{% if 'Other' in proposal['Source'] and proposal['Source']['Other'] -%} + +{{proposal["Source"]["Other"]}} +{% endif -%} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Administrative Information = +<dl class="lfc--datapairs"> +{% if 'Annual Operating Budget' in proposal and proposal['Annual Operating Budget'] -%} +<div class="pair"> +<dt>Annual operating budget</dt> +<dd> +[[Annual_Budgets#{{ proposal['Annual Operating Budget'] }}|{{ proposal['Annual Operating Budget'] }}]] +</dd> +</div> +{% endif -%} +{% if 'Number of Employees' in proposal and proposal['Number of Employees'] -%} +<div class="pair"> +<dt>Number of Employees <span class="torque-edit-button" data-type="option" data-list-id="employee-options" data-field="Number of Employees"></span></dt> +<dd> +{{ proposal['Number of Employees'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Subject Area and Location of Work = +<dl class="lfc--datapairs"> + +{% if 'Primary Subject Area' in proposal and proposal['Primary Subject Area'] -%} +<div class="pair"> +<dt>Primary Subject Area <span class="torque-edit-button" data-type="option" data-list-id="primary-subject-area-options" data-field="Primary Subject Area"></span></dt> +<dd> +{% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 4'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 4'] }}]] +</span> +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Additional Subject Areas' in proposal and proposal['Additional Subject Areas'] -%} +<div class="pair"> +<dt>Secondary Subject Area <span class="torque-edit-button" data-type="option" data-list-id="primary-subject-area-options" data-field="Additional Subject Areas"></span></dt> +<dd> +{% if proposal['Additional Subject Areas']['Level'] == 'Level 1' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 2' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 3' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} > {{ proposal['Additional Subject Areas']['Level 3'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 4' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} > {{ proposal['Additional Subject Areas']['Level 3'] }} > {{ proposal['Additional Subject Areas']['Level 4'] }} +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Key Words and Phrases' in proposal and proposal['Key Words and Phrases'] -%} +<div class="pair"> +<dt>Key words</dt> +<dd> +{% for key_word in proposal['Key Words and Phrases'] %} +* {{ key_word }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Current Work Locations' in proposal and proposal['Current Work Locations'] -%} +<div class="pair"> +<dt>Location of Current Work</dt> +<dd> +{% for location in proposal['Current Work Locations'] %} +{% if location['State/Province'] -%} +* <span class="torque--explore-link" data-filter-name="current_work_locations" data-filter-value="{{location['State/Province']}}">[[Special:TorqueExplore|{{location['State/Province'],location['Country']}}]]</span> +{% else -%} +* <span class="torque--explore-link" data-filter-name="current_work_locations" data-filter-value="{{location['Country']}}">[[Special:TorqueExplore|{{location['Country']}}]]</span> +{% endif -%} +{% endfor -%} +</dd> +</div> +{% endif -%} +{% if 'Priority Populations' in proposal and proposal['Priority Populations'] -%} +<div class="pair"> +<dt>Priority Populations <span class="torque-edit-button" data-type="list-of-options" data-list-id="priority-populations-options" data-field="Priority Populations"></span></dt> +<dd> +{% for idx in range(proposal['Priority Populations']|length) %} +{% set pop = proposal['Priority Populations'][idx] -%} +* <span class="torque--explore-link" data-filter-name="priority_populations" data-filter-value="{{pop}}">[[Special:TorqueExplore|{{pop}}]]</span> +{% endfor %} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Quick Pitch = +<dl class="lfc--datapairs"> +{% if 'Project Description' in proposal and proposal['Project Description'] -%} +<div class="pair"> +<dt>Description of Work <span class="torque-edit-button" data-type="section" data-field="Project Description"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Project Description']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Executive Summary' in proposal and proposal['Executive Summary'] -%} +<div class="pair"> +<dt>Executive Summary <span class="torque-edit-button" data-type="section" data-field="Executive Summary"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Executive Summary']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Affirmation of Approach' in proposal and proposal['Affirmation of Approach'] -%} +<div class="pair"> +<dt>Affirmation of Approach <span class="torque-edit-button" data-type="section" data-field="Affirmation of Approach"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Affirmation of Approach']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'External References' in proposal and proposal['External References'] -%} +<div class="pair"> +<dt>External References <span class="torque-edit-button" data-type="line" data-field="External References"></span></dt> +<dd> +{{ proposal['External References'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +{% if 'Video' in proposal and proposal['Video'] -%} +<div class="proposal-section"> += Video Presentation = +<div class="noprint"> +<ifvideocacheexists url="{{ proposal['Video'] }}"> +<span class="plainlinks">[{{ "{{" }}fullurl:Special:VideoCacheDownload|url={{ proposal ['Video'] }}{{ "}}" }} Download video from Cache]</span> +</ifvideocacheexists> +</div> +{{ proposal['Video'] }} +<div class="noprint">{{ "{{#evu:" }}{{ proposal['Video'] }}{{ "}}" }}</div> +</div> +{% endif -%} + +<div class="proposal-section"> += Your Team = +<dl class="lfc--datapairs"> +{% if 'Why Your Team' in proposal and proposal['Why Your Team'] -%} +<div class="pair"> +<dt>Why Your Team <span class="torque-edit-button" data-type="section" data-field="Why Your Team"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Why Your Team']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Key Staff' in proposal and proposal['Key Staff'] -%} +<div class="pair"> +<dt>Biographies of Key Staff</dt> +<dd> +{% for member in proposal['Key Staff'] %} +* '''{{ member['Person']['First Name'] }} {{ member['Person']['Last Name'] }}{% if member['Affiliation'] %}, {{ member['Affiliation'] }}{% endif %}''': {{ member['Biography'] }} + +{% endfor %} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Your Work = +<dl class="lfc--datapairs"> +{% if 'Overview of Work' in proposal and proposal['Overview of Work'] -%} +<div class="pair"> +<dt>Overview of Work <span class="torque-edit-button" data-type="line" data-field="Overview of Work"></span></dt> +<dd> +{{ proposal['Overview of Work'] }} +</dd> +</div> +{% endif -%} +{% if 'Issue Landscape' in proposal and proposal['Issue Landscape'] -%} +<div class="pair"> +<dt>Issue Landscape <span class="torque-edit-button" data-type="line" data-field="Issue Landscape"></span></dt> +<dd> +{{ proposal['Issue Landscape'] }} +</dd> +</div> +{% endif -%} +{% if 'Stakeholder Engagement' in proposal and proposal['Stakeholder Engagement'] -%} +<div class="pair"> +<dt>Stakeholder Engagement <span class="torque-edit-button" data-type="line" data-field="Stakeholder Engagement"></span></dt> +<dd> +{{ proposal['Stakeholder Engagement'] }} +</dd> +</div> +{% endif -%} +{% if 'Diversity-Equity-Inclusion' in proposal and proposal['Diversity-Equity-Inclusion'] -%} +<div class="pair"> +<dt>Diversity-Equity-Inclusion <span class="torque-edit-button" data-type="line" data-field="Diversity-Equity-Inclusion"></span></dt> +<dd> +{{ proposal['Diversity-Equity-Inclusion'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Project Impact of Work & Resources = +<dl class="lfc--datapairs"> +{% if 'Measurement of Results' in proposal and proposal['Measurement of Results'] -%} +<div class="pair"> +<dt>Measurement of Results <span class="torque-edit-button" data-type="line" data-field="Measurement of Results"></span></dt> +<dd> +{{ proposal['Measurement of Results'] }} +</dd> +</div> +{% endif -%} +{% if 'Why Now?' in proposal and proposal['Why Now?'] -%} +<div class="pair"> +<dt>Why Now? <span class="torque-edit-button" data-type="line" data-field="Why Now?"></span></dt> +<dd> +{{ proposal['Why Now?'] }} +</dd> +</div> +{% endif -%} +{% if 'Vision for Growth' in proposal and proposal['Vision for Growth'] -%} +<div class="pair"> +<dt>Vision for Growth <span class="torque-edit-button" data-type="line" data-field="Vision for Growth"></span></dt> +<dd> +{{ proposal['Vision for Growth'] }} +</dd> +</div> +{% endif -%} +{% if 'Other Considerations' in proposal and proposal['Other Considerations'] -%} +<div class="pair"> +<dt>Other Considerations <span class="torque-edit-button" data-type="line" data-field="Other Considerations"></span></dt> +<dd> +{{ proposal['Other Considerations'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Additional Due Diligence = +<dl class="lfc--datapairs"> +{% if 'Attachments' in proposal and proposal['Attachments'] -%} +{%- for attachment_group in ["Default"] %} +<div class="pair"> +<dt>{{ attachment_group }}</dt> +<dd> +{%- for attachment in proposal['Attachments'].get(attachment_group, []) %} +* <span class="plainlinks">[{{ "{{" }}fullurl:Special:TorqueAttachment|collection_name={{proposal['Competition Name']}}&id={{proposal['Application #']}}&attachment={{ attachment["file"] | replace(" ", "+") | urlencode }}{{ "}}" }} {{ attachment["file"] }}]</span> +{% endfor -%} +</dd> +</div> +{% endfor -%} +{% endif -%} +{% if 'Age of Organization' in proposal and proposal['Age of Organization'] -%} +<div class="pair"> +<dt>Age of Organization <span class="torque-edit-button" data-type="line" data-field="Age of Organization"></span></dt> +<dd> +{{ proposal['Age of Organization'] }} +</dd> +</div> +{% endif -%} +{% if 'Funders' in proposal and proposal['Funders'] -%} +<div class="pair"> +<dt>Current/Previous Funders</dt> +<dd> +{% for member in proposal['Funders'] %} +<p> +'''Funder:''' {{ member['Name'] }}<br /> +'''First Year of Funding:''' {{ member['First Year of Funding'] }}<br /> +'''Last Year of Funding:''' {{ member['Last Year of Funding'] }}<br /> +'''Amount:''' ${{ commaize_number(member['Amount of Funding']) }} +</p> +{% endfor %} +</dd> +</div> +{% endif -%} + +{% if 'Additional Information' in proposal and proposal['Additional Information'] -%} +<div class="pair"> +<dt>Additional Information <span class="torque-edit-button" data-type="line" data-field="Additional Information"></span></dt> +<dd> +{{ proposal['Additional Information'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> +</div> +</div> +</div> +</div> diff --git a/competitions/AFWH/ansible/roles/AFWH/tasks/main.yml b/competitions/AFWH/ansible/roles/AFWH/tasks/main.yml index 195a11e3c8dbbfc37567b242f340d0144eed9ecb..226581fc29a8a596bc8dfe0aaf724ccd2e8abc38 100644 --- a/competitions/AFWH/ansible/roles/AFWH/tasks/main.yml +++ b/competitions/AFWH/ansible/roles/AFWH/tasks/main.yml @@ -10,3 +10,16 @@ path: "{{ mediawiki_install_directory }}/mediawiki-{{ mediawiki_version }}/LocalSettings.php" regexp: ^\$wgLogos = [ '1x' => .* ]; line: $wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/AFWH_Logo.png" ]; + +- name: Transfer AFWH Proposal + copy: + src: AFWHProposal + dest: "{{ mediawiki_install_directory }}/AFWHProposal" + +- name: Install AFWH Proposal + raw: "php {{ mediawiki_install_directory }}/mediawiki-{{ mediawiki_version }}/maintenance/edit.php -b TorqueConfig:AFWHProposal < {{ mediawiki_install_directory }}/AFWHProposal" + +- name: Remove AFWH Proposal + file: + path: "{{ mediawiki_install_directory }}/AFWHProposal" + state: absent diff --git a/competitions/GFC2024/ansible/roles/GFC2024/files/GFCProposal b/competitions/GFC2024/ansible/roles/GFC2024/files/GFCProposal new file mode 100644 index 0000000000000000000000000000000000000000..db9c658026c99db53056de7b97789c0d90aa589e --- /dev/null +++ b/competitions/GFC2024/ansible/roles/GFC2024/files/GFCProposal @@ -0,0 +1,885 @@ +<div id="primary-subject-area-options" class="torque-edit-options-list"> +{{ subject_area_table() }} +</div> +<div id="priority-populations-options" class="torque-edit-options-list"> +{{ populations_table() }} +</div> +<div id="budget-options" class="torque-edit-options-list"> +{{ budgets_table() }} +</div> +<div id="employee-options" class="torque-edit-options-list"> +{{ employees_table() }} +</div> +<div id="sdg-options" class="torque-edit-options-list"> +{{ sdgs_table() }} +</div> +<div id="caf-review-options" class="torque-edit-options-list"> +{| +|- +|Not Completed +|- +|In Progress +|- +|Completed +|} +</div> +<div id="organizational-circumstance-options" class="torque-edit-options-list"> +{| +|- +|Applicant Organization has an interim leadership team in place or is undergoing a leadership transition. +|- +|Applicant Organization is a defendant in a lawsuit, either pending or in process, where charges may include claims of discrimination, sexual misconduct, or fraud. +|- +|Substantial negative information about Applicant Organization has appeared repeatedly in print, broadcast, and/or on social media. +|- +|None of the above. +|} +</div> + +<div class="proposal-main-content"> + +<div class="proposal"> + +<div class="proposal-header"> +{% if 'Organization Name' in proposal and proposal['Organization Name'] -%} +<div class="h1">{{ proposal['Organization Name'] }}</div> +{% endif -%} + +{% if 'Project Title' in proposal and proposal['Project Title'] -%} +<div class="h2">{{ proposal['Project Title'] }}</div> +{% endif -%} +</div> + +<div class="proposal-body"> + +<div class="proposal-sidebar noprint"> +<div class="lfc--accordion"> +<div id="proposal-toc" class="accordion-item"> +<div class="accordion-title">Table of Contents</div> +<div class="accordion-content"> +__TOC__ +</div> +</div> +<div id="proposal-admin-review" data-show-if-outside-cache="accordion-admin-review" style="display:none" class="accordion-item open"> +<div class="accordion-title">Admin Review</div> +<div class="accordion-content"> +<div class="lfc--inside-cache" id="accordion-admin-review"></div> +</div> +</div> +</div> +</div> + +<div class="proposal-content"> + +<div id="snapshot-accordion" class="lfc--accordion"> +<div id="proposal-snapshot" class="accordion-item open"> +<div class="accordion-title">Snapshot</div> +<div class="accordion-content"> +<div class="snapshot-columns"> +<dl class="lfc--datapairs"> +{% if 'Video' in proposal and proposal['Video'] -%} +<div class="pair"> +<dd> +{{ "{{" }} #evu:{{ proposal['Video'] }}|dimensions=400{{ "}}" }} +</dd> +</div> +{% endif -%} +{% if 'Rank' in proposal and proposal['Rank'] -%} +<div class="pair"> +<dt>Rank</dt> +<dd> +{{ proposal['Rank'] }} +</dd> +</div> +{% endif -%} +{% if 'Panel Score' in proposal and proposal['Panel Score'] -%} +<div class="pair"> +<dt>Panel Score</dt> +<dd> +{{ proposal['Panel Score']['Normalized'] }} +</dd> +</div> +{% endif -%} +{% if 'Project Description' in proposal and proposal['Project Description'] -%} +<div class="pair"> +<dt>Description of Work</dt> +<dd> +{{ proposal['Project Description'] }} +</dd> +</div> +{% endif -%} +</dl> +<dl class="lfc--datapairs"> +{% if 'Priority Populations' in proposal and proposal['Priority Populations'] -%} +<div class="pair"> +<dt>Priority populations</dt> +<dd> +{% for pop in proposal['Priority Populations'] %} +* {{ pop }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Primary Subject Area' in proposal and proposal['Primary Subject Area'] -%} +<div class="pair link-hierarchy"> +<dt>Primary Subject Area</dt> +<dd> +{% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 4'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 4'] }}]] +</span> +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Annual Operating Budget' in proposal and proposal['Annual Operating Budget'] -%} +<div class="pair"> +<dt>Annual operating budget</dt> +<dd> +<span class="torque--explore-link" data-filter-name="annual_operating_budget" data-filter-value="{{proposal['Annual Operating Budget']}}">[[Special:TorqueExplore|{{proposal['Annual Operating Budget']}}]]</span></dd> +</dd> +</div> +{% endif -%} +{% if 'Number of Employees' in proposal and proposal['Number of Employees'] -%} +<div class="pair"> +<dt>Number of employees</dt> +<dd> +<span class="torque--explore-link" data-filter-name="number_of_employes" data-filter-value="{{proposal['Number of Employees']}}">[[Special:TorqueExplore|{{proposal['Number of Employees']}}]]</span> +</dd> +</div> +{% endif -%} +{% if 'Key Words and Phrases' in proposal and proposal['Key Words and Phrases'] -%} +<div class="pair"> +<dt>Key words</dt> +<dd> +{% for key_word in proposal['Key Words and Phrases'] %} +* {{ key_word }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Future Work Locations' in proposal and proposal['Future Work Locations'] -%} +<div class="pair"> +<dt>Where do you intend to implement your proposed project?</dt> +<dd> +{% for location in proposal['Future Work Locations'] %} +{% if location['State/Province'] -%} +* <span class="torque--explore-link" data-filter-name="future_work_locations" data-filter-value="{{location['State/Province']}}">[[Special:TorqueExplore|{{location['State/Province'],location['Country']}}]]</span> +{% else -%} +* <span class="torque--explore-link" data-filter-name="future_work_locations" data-filter-value="{{location['Country']}}">[[Special:TorqueExplore|{{location['Country']}}]]</span> +{% endif -%} +{% endfor -%} +</dd> +</div> +{% endif -%} +</dl> +</div> +</div> +</div> +</div> + +<div class="proposal-section"> += Quick Pitch = +<dl class="lfc--datapairs"> +{% if 'Project Title' in proposal and proposal['Project Title'] -%} +<div class="pair"> +<dt>Project Title</dt> +<dd>{{ proposal['Project Title'] }}</dd> +</div> +{% endif -%} +{% if 'Project Description' in proposal and proposal['Project Description'] -%} +<div class="pair"> +<dt>Project Description <span class="torque-edit-button" data-type="section" data-field="Project Description"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Project Description']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Executive Summary' in proposal and proposal['Executive Summary'] -%} +<div class="pair"> +<dt>Executive Summary <span class="torque-edit-button" data-type="section" data-field="Executive Summary"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Executive Summary']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Future of the Gulf Coast' in proposal and proposal['Future of the Gulf Coast'] -%} +<div class="pair"> +<dt>Future of the Gulf Coast <span class="torque-edit-button" data-type="section" data-field="Future of the Gulf Coast"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Future of the Gulf Coast']) }} +</div> +</dd> +</div> +{% endif -%} +</dl> +</div> + +{% if 'Video' in proposal and proposal['Video'] -%} +<div class="proposal-section"> += Video Presentation = +<div class="noprint"> +<ifvideocacheexists url="{{ proposal['Video'] }}"> +<span class="plainlinks">[{{ "{{" }}fullurl:Special:VideoCacheDownload|url={{ proposal ['Video'] }}{{ "}}" }} Download video from Cache]</span> +</ifvideocacheexists> +</div> +{{ proposal['Video'] }} +<div class="noprint">{{ "{{#evu:" }}{{ proposal['Video'] }}{{ "}}" }}</div> +</div> +{% endif -%} + +<div class="proposal-section"> += Your Team = +<dl class="lfc--datapairs"> +{% if 'Project Website' in proposal and proposal['Project Website'] -%} +<div class="pair"> +<dt>Project Website or Social Media Page <span class="torque-edit-button" data-type="line" data-field="Project Website"></span></dt> +<dd> +{{ proposal['Project Website'] }} +</dd> +</div> +{% endif -%} +{% if 'Primary Area of Expertise' in proposal and proposal['Primary Area of Expertise'] -%} +<div class="pair"> +<dt>Primary Area of Expertise for the Lead Organization <span class="torque-edit-button" data-type="line" data-field="Primary Area of Expertise"></span></dt> +<dd> +{{ proposal['Primary Area of Expertise'] }} +</dd> +</div> +{% endif -%} +{% if 'Team Collaboration' in proposal and proposal['Team Collaboration'] -%} +<div class="pair"> +<dt>Team Collaboration: Partnership Status <span class="torque-edit-button" data-type="line" data-field="Team Collaboration"></span></dt> +<dd> +* {{ proposal['Team Collaboration'] }} +</dd> +</div> +{% endif -%} +{% if 'Key Partners' in proposal and proposal['Key Partners'] -%} +<div class="pair"> +<dt>Partners</dt> +<dd> +{% for key_partner in proposal['Key Partners'] %} +* {{ key_partner['Name'] }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Why Your Team' in proposal and proposal['Why Your Team'] -%} +<div class="pair"> +<dt>Why Your Team <span class="torque-edit-button" data-type="section" data-field="Why Your Team"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Why Your Team']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Key Staff' in proposal and proposal['Key Staff'] -%} +<div class="pair"> +<dt>Biographies of Key Staff</dt> +<dd> +{% for member in proposal['Key Staff'] %} +* '''{{ member['Person']['First Name'] }} {{ member['Person']['Last Name'] }}{% if member['Affiliation'] %}, {{ member['Affiliation'] }}{% endif %}''': {{ member['Biography'] }} + +{% endfor %} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += The Challenge = +<dl class="lfc--datapairs"> +{% if 'Challenge Statement' in proposal and proposal['Challenge Statement'] -%} +<div class="pair"> +<dt>Challenge Statement <span class="torque-edit-button" data-type="line" data-field="Challenge Statement"></span></dt> +<dd> +{{ proposal['Challenge Statement'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Your Solution = +<dl class="lfc--datapairs"> +{% if 'Solution Stage' in proposal and proposal['Solution Stage'] -%} +<div class="pair"> +<dt>Solution Stage <span class="torque-edit-button" data-type="line" data-field="Solution Stage"></span></dt> +<dd> +* {{ proposal['Solution Stage'] }} +</dd> +</div> +{% endif -%} +{% if 'Solution Overview' in proposal and proposal['Solution Overview'] -%} +<div class="pair"> +<dt>Solution Overview <span class="torque-edit-button" data-type="section" data-field="Solution Overview"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Solution Overview']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Project Category' in proposal and proposal['Project Category'] -%} +<div class="pair"> +<dt>Project Category <span class="torque-edit-button" data-type="line" data-field="Project Category"></span></dt> +<dd> +{% for cat in proposal['Project Category']['Selection'] %} +* {{ cat }} +{%- endfor %} + +<p> +{{ convert_md_to_mwiki(proposal['Project Category']['Long Answer']) }} +</p> +</dd> +</div> +{% endif -%} +{% if 'Context' in proposal and proposal['Context'] -%} +<div class="pair"> +<dt>Context? <span class="torque-edit-button" data-type="section" data-field="Context"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Context']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Bridge Knowledge to Action' in proposal and proposal['Bridge Knowledge to Action'] -%} +<div class="pair"> +<dt>Bridge Knowledge to Action <span class="torque-edit-button" data-type="section" data-field="Bridge Knowledge to Action"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Bridge Knowledge to Action']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Integration into Landscape' in proposal and proposal['Integration into Landscape'] -%} +<div class="pair"> +<dt>Integration into Landscape <span class="torque-edit-button" data-type="section" data-field="Integration into Landscape"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Integration into Landscape']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Innovation' in proposal and proposal['Innovation'] -%} +<div class="pair"> +<dt>Innovation <span class="torque-edit-button" data-type="section" data-field="Innovation"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Innovation']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Theory of Change' in proposal and proposal['Theory of Change'] -%} +<div class="pair"> +<dt>Theory of Change <span class="torque-edit-button" data-type="section" data-field="Theory of Change"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Theory of Change']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Community Engagement' in proposal and proposal['Community Engagement'] -%} +<div class="pair"> +<dt>Inclusive Community Engagement <span class="torque-edit-button" data-type="section" data-field="Community Engagement"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Community Engagement']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Diversity-Equity-Inclusion' in proposal and proposal['Diversity-Equity-Inclusion'] -%} +<div class="pair"> +<dt>Diversity-Equity-Inclusion <span class="torque-edit-button" data-type="section" data-field="Diversity-Equity-Inclusion"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Diversity-Equity-Inclusion']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Priority Populations' in proposal and proposal['Priority Populations'] -%} +<div class="pair"> +<dt>Priority Populations <span class="torque-edit-button" data-type="list-of-options" data-list-id="priority-populations-options" data-field="Priority Populations"></span></dt> +<dd> +{% for idx in range(proposal['Priority Populations']|length) %} +{% set pop = proposal['Priority Populations'][idx] -%} +* <span class="torque--explore-link" data-filter-name="priority_populations" data-filter-value="{{pop}}">[[Special:TorqueExplore|{{pop}}]]</span> +{% endfor %} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Project Outcomes = +<dl class="lfc--datapairs"> +{% if 'Affirmation of Approach' in proposal and proposal['Affirmation of Approach'] -%} +<div class="pair"> +<dt>Affirmation of Approach <span class="torque-edit-button" data-type="section" data-field="Affirmation of Approach"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Affirmation of Approach']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Timeline and Milestones' in proposal and proposal['Timeline and Milestones'] -%} +<div class="pair"> +<dt>Timeline and Milestones <span class="torque-edit-button" data-type="section" data-field="Timeline and Milestones"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Timeline and Milestones']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Measurement of Results' in proposal and proposal['Measurement of Results'] -%} +<div class="pair"> +<dt>Measuring Progress and Responding <span class="torque-edit-button" data-type="section" data-field="Measurement of Results"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Measurement of Results']) }} +</div> +</dd> +</div> +{% endif -%} +{% if 'Barrier Assessment and Risk Mitigation' in proposal and proposal['Barrier Assessment and Risk Mitigation'] -%} +<div class="pair"> +<dt>Barrier Assessment and Risk Mitigation <span class="torque-edit-button" data-type="line" data-field="Barrier Assessment and Risk Mitigation"></span></dt> +<dd> +{{ proposal['Barrier Assessment and Risk Mitigation'] }} +</dd> +</div> +{% endif -%} +{% if 'External References' in proposal and proposal['External References'] -%} +<div class="pair"> +<dt>External References <span class="torque-edit-button" data-type="line" data-field="External References"></span></dt> +<dd> +{{ proposal['External References'] }} +</dd> +</div> +{% endif -%} +{% if 'Other Considerations' in proposal and proposal['Other Considerations'] -%} +<div class="pair"> +<dt>Other Considerations <span class="torque-edit-button" data-type="section" data-field="Other Considerations"></span></dt> +<dd> +<div> +{{ convert_md_to_mwiki(proposal['Other Considerations']) }} +</div> +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Resource Requirements = +<dl class="lfc--datapairs"> +{% if 'Budget Narrative' in proposal and proposal['Budget Narrative'] -%} +<div class="pair"> +<dt>Budget Narrative <span class="torque-edit-button" data-type="line" data-field="Budget Narrative"></span></dt> +<dd> +{{ proposal['Budget Narrative'] }} +</dd> +</div> +{% endif -%} + +{% if 'Budget Data' in proposal and proposal['Budget Data'] -%} +<div class="pair"> +<dt>Budget</dt> +<dd> +<div> + +{| class="wikitable bs-exportable exportable sortable" +! style="max-width:550px" | '''Cost Category & Description''' +! style="max-width:150px" | '''Percentage''' +{% for line in proposal['Budget Data'][1:] %} +|- +| {{ line['description'] }} +| {{ line['percent'] }}% +{% endfor %} +|} + +</div> +</dd> +</div> +{% endif -%} +{% if 'Total Projected Costs' in proposal and proposal['Total Projected Costs'] -%} +<div class="pair"> +<dt>Total Projected Cost</dt> +<dd> +${{ commaize_number(proposal['Total Projected Costs']) }} +</dd> +</div> +{% endif -%} +{% if 'Total Resource Requirements' in proposal and proposal['Total Resource Requirements'] -%} +<div class="pair"> +<dt>Total Resource Requirements <span class="torque-edit-button" data-type="line" data-field="Total Resource Requirements"></span></dt> +<dd> +{{ proposal['Total Resource Requirements'] }} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Subject Area and Location of Work = +<dl class="lfc--datapairs"> + +{% if 'Primary Subject Area' in proposal and proposal['Primary Subject Area'] -%} +<div class="pair"> +<dt>Primary Subject Area <span class="torque-edit-button" data-type="option" data-list-id="primary-subject-area-options" data-field="Primary Subject Area"></span></dt> +<dd> +{% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> +{% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} +<span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 4'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 4'] }}]] +</span> +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Additional Subject Areas' in proposal and proposal['Additional Subject Areas'] -%} +<div class="pair"> +<dt>Secondary Subject Area <span class="torque-edit-button" data-type="option" data-list-id="primary-subject-area-options" data-field="Additional Subject Areas"></span></dt> +<dd> +{% if proposal['Additional Subject Areas']['Level'] == 'Level 1' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 2' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 3' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} > {{ proposal['Additional Subject Areas']['Level 3'] }} +{% elif proposal['Additional Subject Areas']['Level'] == 'Level 4' -%} +{{ proposal['Additional Subject Areas']['Level 1'] }} > {{ proposal['Additional Subject Areas']['Level 2'] }} > {{ proposal['Additional Subject Areas']['Level 3'] }} > {{ proposal['Additional Subject Areas']['Level 4'] }} +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Key Words and Phrases' in proposal and proposal['Key Words and Phrases'] -%} +<div class="pair"> +<dt>Key words</dt> +<dd> +{% for key_word in proposal['Key Words and Phrases'] %} +* {{ key_word }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Current Work Locations' in proposal and proposal['Current Work Locations'] -%} +<div class="pair"> +<dt>Location of Current Work</dt> +<dd> +{% for location in proposal['Current Work Locations'] %} +{% if location['State/Province'] -%} +* {{ location['Locality/District/County'] }} {{ location['State/Province'] }}, {{ location['Country'] }} +{% else -%} +* {{ location['Country'] }} +{% endif -%} +{% endfor -%} +</dd> +</div> +{% endif -%} +{% if 'Future Work Locations' in proposal and proposal['Future Work Locations'] -%} +<div class="pair"> +<dt>Location of Future Work</dt> +<dd> +{% for location in proposal['Future Work Locations'] %} +{% if location['State/Province'] -%} +* {{ location['Locality/District/County'] }} {{ location['State/Province'] }}, {{ location['Country'] }} +{% else -%} +* {{ location['Country'] }} +{% endif -%} +{% endfor -%} +</dd> +</div> +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Additional Due Diligence& Organizational Information = +<dl class="lfc--datapairs"> +{% if 'Applicant Tax Identification Number' in proposal and proposal['Applicant Tax Identification Number'] -%} +<div class="pair"> +<dt>Applicant Tax Identification Number <span class="torque-edit-button" data-type="line" data-field="Applicant Tax Identification Number"></span></dt> +<dd> +{{ proposal['Applicant Tax Identification Number'] }} +</dd> +</div> +{% endif -%} +{% if 'Annual Operating Budget' in proposal and proposal['Annual Operating Budget'] -%} +<div class="pair"> +<dt>Annual operating budget</dt> +<dd> +<span class="torque--explore-link" data-filter-name="annual_operating_budget" data-filter-value="{{proposal['Annual Operating Budget']}}">[[Special:TorqueExplore|{{proposal['Annual Operating Budget']}}]]</span> +</dd> +</div> +{% endif -%} +{% if 'Number of Employees' in proposal and proposal['Number of Employees'] -%} +<div class="pair"> +<dt>Number of Employees <span class="torque-edit-button" data-type="option" data-list-id="employee-options" data-field="Number of Employees"></span></dt> +<dd> +{{ proposal['Number of Employees'] }} +</dd> +</div> +{% endif -%} +{% if 'Funders' in proposal and proposal['Funders'] -%} +<div class="pair"> +<dt>Current/Previous Funders</dt> +<dd> +{% for member in proposal['Funders'] %} +<p> +'''Funder:''' {{ member['Name'] }}<br /> +'''First Year of Funding:''' {{ member['First Year of Funding'] }}<br /> +'''Last Year of Funding:''' {{ member['Last Year of Funding'] }}<br /> +'''Amount:''' ${{ commaize_number(member['Amount of Funding']) }} +</p> +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Attachments' in proposal and proposal['Attachments'] -%} +{%- for attachment_group in ["Default"] %} +<div class="pair"> +<dt>{{ attachment_group }}</dt> +<dd> +{%- for attachment in proposal['Attachments'].get(attachment_group, []) %} +* <span class="plainlinks">[{{ "{{" }}fullurl:Special:TorqueAttachment|collection_name={{proposal['Competition Name']}}&id={{proposal['Application #']}}&attachment={{ attachment["file"] | replace(" ", "+") | urlencode }}{{ "}}" }} {{ attachment["file"] }}]</span> +{% endfor -%} +</dd> +</div> +{% endfor -%} +{% endif -%} +</dl> +</div> + +<div class="proposal-section"> += Administrative Information = +<dl class="lfc--datapairs horizontal"> +{% if 'Application #' in proposal and proposal['Application #'] -%} +<div class="pair"> +<dt>Application #</dt> +<dd> +{{ proposal['Application #'] }} +</dd> +</div> +{% endif -%} +{% if 'Submittable ID' in proposal and proposal['Submittable ID'] -%} +<div class="pair"> +<dt>Submittable ID</dt> +<dd> +{{ proposal['Submittable ID'] }} +</dd> +</div> +{% endif -%} +{% if 'Organization Name' in proposal and proposal['Organization Name'] -%} +<div class="pair"> +<dt>Lead Organization Name <span class="torque-edit-button" data-type="line" data-field="Organization Name"></span></dt> +<dd> +{{ proposal['Organization Name'] }} +</dd> +</div> +{% endif -%} +{% if 'Organization Location' in proposal and proposal['Organization Location'] -%} +<div class="pair"> +<dt>Lead Organization Address</dt> +<dd> +<div> +{% if proposal['Organization Location']['Street Address'] %}{{ proposal['Organization Location']['Street Address'] }}<br /> +{% endif -%} +{% if proposal['Organization Location']['Address Line 2'] %}{{ proposal['Organization Location']['Address Line 2'] }}<br /> +{% endif -%} +{% if proposal['Organization Location']['City'] %}{{ proposal['Organization Location']['City'] }}{% if proposal['Organization Location']['State/Province'] %}, <span class="torque--explore-link" data-filter-name="organization_location" data-filter-value="{{proposal['Organization Location']['State/Province']}}">[[Special:TorqueExplore|{{proposal['Organization Location']['State/Province'],proposal['Organization Location']['Country']}}]]</span>{% endif %}{% if proposal['Organization Location']['Zip/Postal Code'] %} {{ proposal['Organization Location']['Zip/Postal Code'] }}{% endif %}<br /> +{% endif -%} +{% if proposal['Organization Location']['Locality/District/County'] %}{{ proposal['Organization Location']['Locality/District/County'] }}<br /> +{% endif -%} +{% if proposal['Organization Location']['Country'] %}<span class="torque--explore-link" data-filter-name="organization_location" data-filter-value="{{proposal['Organization Location']['Country']}}">[[Special:TorqueExplore|{{proposal['Organization Location']['Country']}}]]</span><br /> +{% endif -%} +</div> +</dd> +</div> +{% endif -%} +{% if 'Organization Website' in proposal and proposal['Organization Website'] -%} +<div class="pair"> +<dt>Lead Organization Website or Social media Page <span class="torque-edit-button" data-type="line" data-field="Organization Website"></span></dt> +<dd> +{{ proposal['Organization Website'] }} +</dd> +</div> +{% endif -%} +{% if 'Primary Contact' in proposal and proposal['Primary Contact'] -%} +<div class="pair"> +<dt>Primary Contact</dt> +<dd> +<div> +{% if proposal['Primary Contact']['First Name'] %}'''{{ proposal['Primary Contact']['First Name'] }} {{ proposal['Primary Contact']['Last Name'] }}'''{% if proposal['Primary Contact']['Title'] %}, {{ proposal['Primary Contact']['Title'] }}{% endif %}<br/> +{% endif -%} +{% if proposal['Primary Contact']['Phone'] %}{{ proposal['Primary Contact']['Phone'] }}<br/> +{% endif -%} +{% if proposal['Primary Contact']['Email'] %}{{ proposal['Primary Contact']['Email'] }}<br/> +{% endif -%} +</div> +</dd> +</div> +{% endif -%} +{% if 'Secondary Contact' in proposal and proposal['Secondary Contact'] -%} +<div class="pair"> +<dt>Seconary Contact</dt> +<dd> +<div> +{% if proposal['Secondary Contact']['First Name'] %}{{ proposal['Secondary Contact']['First Name'] }} {{ proposal['Secondary Contact']['Last Name'] }}{% if proposal['Secondary Contact']['Title'] %} ({{ proposal['Secondary Contact']['Title'] }}){% endif %}<br/> +{% endif -%} +{% if proposal['Secondary Contact']['Phone'] %}{{ proposal['Secondary Contact']['Phone'] }}<br/> +{% endif -%} +{% if proposal['Secondary Contact']['Email'] %}{{ proposal['Secondary Contact']['Email'] }}<br/> +{% endif -%} +</div> +</dd> +</div> +{% endif -%} +{% if 'Organization Legal Status' in proposal and proposal['Organization Legal Status'] -%} +<div class="pair"> +<dt>Organization Legal Status</dt> +<dd> +{{ proposal['Organization Legal Status'] }} +</dd> +</div> +{% endif -%} +{% if 'Future Work Locations' in proposal and proposal['Future Work Locations'] -%} +<div class="pair"> +<dt>Where do you intend to implement your proposed project?</dt> +<dd> +{% for location in proposal['Future Work Locations'] %} +{% if location['State/Province'] -%} +* [[Current_Work_Locations#{{ location['State/Province'] }}|{{ location['State/Province'] }}, {{ location['Country'] }}]] +{% else -%} +* [[Current_Work_Locations#{{ location['Country'] }}|{{ location['Country'] }}]] +{% endif -%} +{% endfor -%} +</dd> +</div> +{% endif -%} +{% if 'Source' in proposal and proposal['Source'] -%} +<div class="pair"> +<dt>How did you hear about the Gulf Futures Challenge?</dt> +<dd> +{{proposal["Source"]["Source"]}} +{% if 'Other' in proposal['Source'] and proposal['Source']['Other'] -%} + +{{proposal["Source"]["Other"]}} +{% endif -%} +</dd> +</div> +{% endif -%} +</dl> +</div> + +</div> +</div> +</div> +</div> diff --git a/competitions/GFC2024/ansible/roles/GFC2024/tasks/main.yml b/competitions/GFC2024/ansible/roles/GFC2024/tasks/main.yml index 1f0d2a40a05d49ffb8e0980898d46d812cc3ca40..82fd99611f80a28054dfb112ba1275c9d6b11160 100644 --- a/competitions/GFC2024/ansible/roles/GFC2024/tasks/main.yml +++ b/competitions/GFC2024/ansible/roles/GFC2024/tasks/main.yml @@ -10,3 +10,16 @@ path: "{{ mediawiki_install_directory }}/mediawiki-{{ mediawiki_version }}/LocalSettings.php" regexp: ^\$wgLogos = [ '1x' => .* ]; line: $wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/GFC2024_Logo.png" ]; + +- name: Transfer GFC Proposal + copy: + src: GFCProposal + dest: "{{ mediawiki_install_directory }}/GFCProposal" + +- name: Install GFC Proposal + raw: "php {{ mediawiki_install_directory }}/mediawiki-{{ mediawiki_version }}/maintenance/edit.php -b TorqueConfig:GFCProposal < {{ mediawiki_install_directory }}/GFCProposal" + +- name: Remove GFC Proposal + file: + path: "{{ mediawiki_install_directory }}/GFCProposal" + state: absent diff --git a/competitions/YGOC23/ansible/roles/YGOC23/files/YGOCProposal b/competitions/YGOC23/ansible/roles/YGOC23/files/YGOCProposal index 86c3025559f2fcf3581963768b7d7efebd6a14c2..8cbf280dbb55580c73a59804d7bfd108d5265b46 100644 --- a/competitions/YGOC23/ansible/roles/YGOC23/files/YGOCProposal +++ b/competitions/YGOC23/ansible/roles/YGOC23/files/YGOCProposal @@ -29,161 +29,161 @@ <div class="proposal"> <div class="proposal-header"> - {% if 'Organization Name' in proposal and proposal['Organization Name'] -%} - <div class="h1">{{ proposal['Organization Name'] }}</div> - {% endif -%} +{% if 'Organization Name' in proposal and proposal['Organization Name'] -%} +<div class="h1">{{ proposal['Organization Name'] }}</div> +{% endif -%} - {% if 'Proposal Title' in proposal and proposal['Proposal Title'] -%} - <div class="h2">{{ proposal['Proposal Title'] }}</div> - {% endif -%} +{% if 'Proposal Title' in proposal and proposal['Proposal Title'] -%} +<div class="h2">{{ proposal['Proposal Title'] }}</div> +{% endif -%} </div> <div class="proposal-body"> <div class="proposal-sidebar noprint"> - <div class="lfc--accordion"> - <div id="proposal-toc" class="accordion-item"> - <div class="accordion-title">Table of Contents</div> - <div class="accordion-content"> - __TOC__ - </div> - </div> - </div> +<div class="lfc--accordion"> +<div id="proposal-toc" class="accordion-item"> +<div class="accordion-title">Table of Contents</div> +<div class="accordion-content"> +__TOC__ +</div> +</div> +</div> </div> <div class="proposal-content"> <div id="snapshot-accordion" class="lfc--accordion"> - <div id="proposal-snapshot" class="accordion-item open"> - <div class="accordion-title">Snapshot</div> - <div class="accordion-content"> - <div class="snapshot-columns"> - <dl class="lfc--datapairs"> - {% if 'Video' in proposal and proposal['Video'] -%} - <div class="pair"> - <dd> - {{ "{{" }} #evu:{{ proposal['Video'] }}|dimensions=400{{ "}}" }} - </dd> - </div> - {% endif -%} - {% if 'Rank' in proposal and proposal['Rank'] -%} - <div class="pair"> - <dt>Rank</dt> - <dd> - {{ proposal['Rank'] }} - </dd> - </div> - {% endif -%} - {% if 'Panel Score' in proposal and proposal['Panel Score'] -%} - <div class="pair"> - <dt>Panel Score</dt> - <dd> - {{ proposal['Panel Score']['Normalized'] }} - </dd> - </div> - {% endif -%} - {% if 'Project Description' in proposal and proposal['Project Description'] -%} - <div class="pair"> - <dt>Description of Work</dt> - <dd> - {{ proposal['Project Description'] }} - </dd> - </div> - {% endif -%} - {% if 'Key Partners' in proposal and proposal['Key Partners'] -%} - <div class="pair"> - <dt>Partners</dt> - <dd> - {% for key_partner in proposal['Key Partners'] %} - {{ key_partner['Name'] }} - {% endfor %} - </dd> - </div> - {% endif -%} - {% if 'CAF Review' in proposal and proposal['CAF Review'] -%} - <div class="pair caf-review"> - <dt>CAF Review <span class="torque-edit-button" data-type="option" data-list-id="caf-review-options" data-field="CAF Review"></span></dt> - <dd> - {{ proposal['CAF Review'] }} - </dd> - </div> - {% endif -%} - </dl> - <dl class="lfc--datapairs"> - {% if 'Priority Populations' in proposal and proposal['Priority Populations'] -%} - <div class="pair"> - <dt>Priority populations</dt> - <dd> - {% for pop in proposal['Priority Populations'] %} +<div id="proposal-snapshot" class="accordion-item open"> +<div class="accordion-title">Snapshot</div> +<div class="accordion-content"> +<div class="snapshot-columns"> +<dl class="lfc--datapairs"> +{% if 'Video' in proposal and proposal['Video'] -%} +<div class="pair"> +<dd> +{{ "{{" }} #evu:{{ proposal['Video'] }}|dimensions=400{{ "}}" }} +</dd> +</div> +{% endif -%} +{% if 'Rank' in proposal and proposal['Rank'] -%} +<div class="pair"> +<dt>Rank</dt> +<dd> +{{ proposal['Rank'] }} +</dd> +</div> +{% endif -%} +{% if 'Panel Score' in proposal and proposal['Panel Score'] -%} +<div class="pair"> +<dt>Panel Score</dt> +<dd> +{{ proposal['Panel Score']['Normalized'] }} +</dd> +</div> +{% endif -%} +{% if 'Project Description' in proposal and proposal['Project Description'] -%} +<div class="pair"> +<dt>Description of Work</dt> +<dd> +{{ proposal['Project Description'] }} +</dd> +</div> +{% endif -%} +{% if 'Key Partners' in proposal and proposal['Key Partners'] -%} +<div class="pair"> +<dt>Partners</dt> +<dd> +{% for key_partner in proposal['Key Partners'] %} +{{ key_partner['Name'] }} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'CAF Review' in proposal and proposal['CAF Review'] -%} +<div class="pair caf-review"> +<dt>CAF Review <span class="torque-edit-button" data-type="option" data-list-id="caf-review-options" data-field="CAF Review"></span></dt> +<dd> +{{ proposal['CAF Review'] }} +</dd> +</div> +{% endif -%} +</dl> +<dl class="lfc--datapairs"> +{% if 'Priority Populations' in proposal and proposal['Priority Populations'] -%} +<div class="pair"> +<dt>Priority populations</dt> +<dd> +{% for pop in proposal['Priority Populations'] %} * {{ pop }} - {% endfor %} - </dd> - </div> - {% endif -%} - {% if 'Primary Subject Area' in proposal and proposal['Primary Subject Area'] -%} - <div class="pair link-hierarchy"> - <dt>Primary Subject Area</dt> - <dd> - {% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} - [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] - {% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} - [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] - {% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} - [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 3'] }}|{{ proposal['Primary Subject Area']['Level 3'] }}]] - {% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} - [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 3'] }}|{{ proposal['Primary Subject Area']['Level 3'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 4'] }}|{{ proposal['Primary Subject Area']['Level 4'] }}]] - {% endif -%} - </dd> - </div> - {% endif -%} - {% if 'Primary Subject Area Category' in proposal and proposal['Primary Subject Area Category'] -%} - <div class="pair"> - <dt>Primary Subject Area Category</dt> - <dd> - {{ proposal['Primary Subject Area Category'] }} - </dd> - </div> - {% endif -%} - {% if 'Key Words and Phrases' in proposal and proposal['Key Words and Phrases'] -%} - <div class="pair"> - <dt>Key words</dt> - <dd> - {% for key_word in proposal['Key Words and Phrases'] %} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Primary Subject Area' in proposal and proposal['Primary Subject Area'] -%} +<div class="pair link-hierarchy"> +<dt>Primary Subject Area</dt> +<dd> +{% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} +[[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] +{% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} +[[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] +{% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} +[[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 3'] }}|{{ proposal['Primary Subject Area']['Level 3'] }}]] +{% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} +[[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 3'] }}|{{ proposal['Primary Subject Area']['Level 3'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 4'] }}|{{ proposal['Primary Subject Area']['Level 4'] }}]] +{% endif -%} +</dd> +</div> +{% endif -%} +{% if 'Primary Subject Area Category' in proposal and proposal['Primary Subject Area Category'] -%} +<div class="pair"> +<dt>Primary Subject Area Category</dt> +<dd> +{{ proposal['Primary Subject Area Category'] }} +</dd> +</div> +{% endif -%} +{% if 'Key Words and Phrases' in proposal and proposal['Key Words and Phrases'] -%} +<div class="pair"> +<dt>Key words</dt> +<dd> +{% for key_word in proposal['Key Words and Phrases'] %} * {{ key_word }} - {% endfor %} - </dd> - </div> - {% endif -%} - {% if 'Current Work Locations' in proposal and proposal['Current Work Locations'] -%} - <div class="pair"> - <dt>Location of Current Work</dt> - <dd> - {% for location in proposal['Current Work Locations'] %} +{% endfor %} +</dd> +</div> +{% endif -%} +{% if 'Current Work Locations' in proposal and proposal['Current Work Locations'] -%} +<div class="pair"> +<dt>Location of Current Work</dt> +<dd> +{% for location in proposal['Current Work Locations'] %} * '''{{ location['City'] }}''', {{ location['Locality/District/County'] }}, '''{{ location['State/Province'] }}''' ({{ location['Zip/Postal Code'] }}) - {% endfor -%} - </dd> - </div> - {% endif -%} - {% if 'Annual Operating Budget' in proposal and proposal['Annual Operating Budget'] -%} - <div class="pair"> - <dt>Annual operating budget</dt> - <dd> - [[Annual_Budgets#{{ proposal['Annual Operating Budget'] }}|{{ proposal['Annual Operating Budget'] }}]] - </dd> - </div> - {% endif -%} - {% if 'Number of Employees' in proposal and proposal['Number of Employees'] -%} - <div class="pair"> - <dt>Number of employees</dt> - <dd> - [[Number_of_Employees#{{ proposal['Number of Employees'] }}|{{ proposal['Number of Employees'] }}]] - </dd> - </div> - {% endif -%} - </dl> - </div> - </div> - </div> +{% endfor -%} +</dd> +</div> +{% endif -%} +{% if 'Annual Operating Budget' in proposal and proposal['Annual Operating Budget'] -%} +<div class="pair"> +<dt>Annual operating budget</dt> +<dd> +[[Annual_Budgets#{{ proposal['Annual Operating Budget'] }}|{{ proposal['Annual Operating Budget'] }}]] +</dd> +</div> +{% endif -%} +{% if 'Number of Employees' in proposal and proposal['Number of Employees'] -%} +<div class="pair"> +<dt>Number of employees</dt> +<dd> +<span class="torque--explore-link" data-filter-name="number_of_employes" data-filter-value="{{ proposal['Number of Employees'] }}">[[Special:TorqueExplore | {{ proposal['Number of Employees'] }}]]</span> +</dd> +</div> +{% endif -%} +</dl> +</div> +</div> +</div> </div> <div class="proposal-section"> @@ -379,13 +379,53 @@ <dt>Primary Subject Area <span class="torque-edit-button" data-type="option" data-list-id="primary-subject-area-options" data-field="Primary Subject Area"></span></dt> <dd> {% if proposal['Primary Subject Area']['Level'] == 'Level 1' -%} -[[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] +* <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> {% elif proposal['Primary Subject Area']['Level'] == 'Level 2' -%} -[[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] +* <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> {% elif proposal['Primary Subject Area']['Level'] == 'Level 3' -%} -[[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 3'] }}|{{ proposal['Primary Subject Area']['Level 3'] }}]] +* <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> {% elif proposal['Primary Subject Area']['Level'] == 'Level 4' -%} -[[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 1'] }}|{{ proposal['Primary Subject Area']['Level 1'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 2'] }}|{{ proposal['Primary Subject Area']['Level 2'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 3'] }}|{{ proposal['Primary Subject Area']['Level 3'] }}]] > [[Primary_Subject_Area#{{ proposal['Primary Subject Area']['Level 4'] }}|{{ proposal['Primary Subject Area']['Level 4'] }}]] +* <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 1'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 1'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 2'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 2'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 3'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 3'] }}]] +</span> > <span class="torque--explore-link" +data-filter-name="primary_subject_area" +data-filter-value="{{ proposal['Primary Subject Area']['Level 4'] }}"> +[[Special:TorqueExplore |{{ proposal['Primary Subject Area']['Level 4'] }}]] +</span> {% endif -%} </dd> </div> @@ -445,7 +485,8 @@ <dd> {% for idx in range(proposal['Priority Populations']|length) %} {% set pop = proposal['Priority Populations'][idx] -%} -* [[Populations#{{ pop }}|{{ pop }}]]: {{proposal['Approximate Proportion of Total Community Served Represented by Population ' ~ (idx + 1)] }}% +* <span class="torque--explore-link" data-filter-name="priority_populations" data-filter-value="{{ pop }}">[[Special:TorqueExplore | {{ proposal['Number of Employees'] }}]]</span> +: {{proposal['Approximate Proportion of Total Community Served Represented by Population ' ~ (idx + 1)] }}% {% endfor %} </dd> </div> @@ -609,23 +650,23 @@ <dt>Organization Location</dt> <dd> {% if proposal['Organization Location'] %} - {%- if proposal['Organization Location']['Street Address'] %}{{ proposal['Organization Location']['Street Address'] }}<br />{% endif %} - {%- if proposal['Organization Location']['Address Line 2'] %}{{ proposal['Organization Location']['Address Line 2'] }}<br />{% endif %} - {%- if proposal['Organization Location']['City'] %} - {{- proposal['Organization Location']['City'] }} - {%- if proposal['Organization Location']['State/Province'] %}{{", "}} - {{- proposal['Organization Location']['State/Province'] }} - {%- endif %} - {%- if proposal['Organization Location']['Zip/Postal Code'] %}{{" "}} - {{- proposal['Organization Location']['Zip/Postal Code'] }} - {%- endif %}<br /> - {%- endif -%} - {%- if proposal['Organization Location']['Country'] %} - {{- proposal['Organization Location']['Country'] }}<br /> - {%- endif %} - {%- if proposal['Organization Location']['Locality/District/County'] %} - County: {{ proposal['Organization Location']['Locality/District/County'] }}<br /> - {% endif -%} +{%- if proposal['Organization Location']['Street Address'] %}{{ proposal['Organization Location']['Street Address'] }}<br />{% endif %} +{%- if proposal['Organization Location']['Address Line 2'] %}{{ proposal['Organization Location']['Address Line 2'] }}<br />{% endif %} +{%- if proposal['Organization Location']['City'] %} +{{- proposal['Organization Location']['City'] }} +{%- if proposal['Organization Location']['State/Province'] %}{{", "}} +{{- proposal['Organization Location']['State/Province'] }} +{%- endif %} +{%- if proposal['Organization Location']['Zip/Postal Code'] %}{{" "}} +{{- proposal['Organization Location']['Zip/Postal Code'] }} +{%- endif %}<br /> +{%- endif -%} +{%- if proposal['Organization Location']['Country'] %} +{{- proposal['Organization Location']['Country'] }}<br /> +{%- endif %} +{%- if proposal['Organization Location']['Locality/District/County'] %} +County: {{ proposal['Organization Location']['Locality/District/County'] }}<br /> +{% endif -%} {%- endif %} </dd> </div> @@ -643,18 +684,18 @@ <dt>Primary Contact</dt> <dd> {% if proposal['Primary Contact']['First Name'] %} - {{- proposal['Primary Contact']['First Name'] }} - {{-" "}}{{ proposal['Primary Contact']['Last Name'] }} - {%- if proposal['Primary Contact']['Title'] %} - {{-" ("}}{{ proposal['Primary Contact']['Title'] }}{{")"}} - {%- endif %} - <br/> +{{- proposal['Primary Contact']['First Name'] }} +{{-" "}}{{ proposal['Primary Contact']['Last Name'] }} +{%- if proposal['Primary Contact']['Title'] %} +{{-" ("}}{{ proposal['Primary Contact']['Title'] }}{{")"}} +{%- endif %} +<br/> {%- endif %} {%- if proposal['Primary Contact']['Phone'] %} - {{- display_phonenumber(proposal['Primary Contact']['Phone']) }}<br/> +{{- display_phonenumber(proposal['Primary Contact']['Phone']) }}<br/> {%- endif -%} {%- if proposal['Primary Contact']['Email'] %} - {{- proposal['Primary Contact']['Email'] }}<br/> +{{- proposal['Primary Contact']['Email'] }}<br/> {%- endif %} </dd> </div> @@ -664,18 +705,18 @@ <dt>Secondary Contact</dt> <dd> {% if proposal['Secondary Contact']['First Name'] %} - {{- proposal['Secondary Contact']['First Name'] }} - {{-" "}}{{ proposal['Secondary Contact']['Last Name'] }} - {%- if proposal['Secondary Contact']['Title'] %} - {{-" ("}}{{ proposal['Secondary Contact']['Title'] }}{{")"}} - {%- endif %} - <br/> +{{- proposal['Secondary Contact']['First Name'] }} +{{-" "}}{{ proposal['Secondary Contact']['Last Name'] }} +{%- if proposal['Secondary Contact']['Title'] %} +{{-" ("}}{{ proposal['Secondary Contact']['Title'] }}{{")"}} +{%- endif %} +<br/> {%- endif %} {%- if proposal['Secondary Contact']['Phone'] %} - {{- display_phonenumber(proposal['Secondary Contact']['Phone']) }}<br/> +{{- display_phonenumber(proposal['Secondary Contact']['Phone']) }}<br/> {%- endif -%} {%- if proposal['Secondary Contact']['Email'] %} - {{- proposal['Secondary Contact']['Email'] }}<br/> +{{- proposal['Secondary Contact']['Email'] }}<br/> {%- endif %} </dd> </div> diff --git a/competitions/YGOC23/ansible/roles/YGOC23/files/YGOCTileProposal b/competitions/YGOC23/ansible/roles/YGOC23/files/YGOCTileProposal index 8ab3f0708c518d6687e40ec168d3800505d860a8..a56c25fcec34b3d6dd7e115efff1fc472bccb8d3 100644 --- a/competitions/YGOC23/ansible/roles/YGOC23/files/YGOCTileProposal +++ b/competitions/YGOC23/ansible/roles/YGOC23/files/YGOCTileProposal @@ -63,7 +63,7 @@ __NOTOC__ <dd> {% for idx in range(proposal['Priority Populations']|length) %} {% set pop = proposal['Priority Populations'][idx] -%} -* [[Populations#{{ pop }}|{{ pop }}]]: {{proposal['Approximate Proportion of Total Community Served Represented by Population ' ~ (idx + 1)] }}% +* <span class="torque--explore-link" data-filter-name="priority_populations" data-filter-value="{{ pop }}">[[Special:TorqueExplore | {{ pop }}]]</span> : {{proposal['Approximate Proportion of Total Community Served Represented by Population ' ~ (idx + 1)] }}% {% endfor %} </dd> </div>