<% use crate::evidence::Wish; %>
<% use crate::traits::FormatLink; %>
Evidence Report
<%- report.collective.name() %>
Date: <%= report.date %>
Fellow <%- report.name %> (<%- report.github_link() %>, <%- report.address_link() %>) wishes to
- <%= report.wish.as_typed().title().to_uppercase() %> -
<% match report.wish.as_typed() {
Wish::Retain(rank) => { %>
the rank of
- <%= rank.name().to_uppercase() %> -
<% },
Wish::Promote(rank) => { %>
to rank
- <%= rank.name().to_uppercase() %> -
<% },
} %>
by providing evidence for the period <%= report.period.start %> to <%= report.period.end %> in the following categories:
<% for cat in report.categories.iter().map(|c| c.clone().into_typed()) { %>
- <%= cat.title() %><%= cat.sub_categories().map(|cs| format!(": {cs}")).unwrap_or("".into()) %>
<% } %>
Evidence
The fellow has either solely completed the following tasks or has significantly contributed to their success.
<% for (i, evidence) in report.evidence.iter().enumerate() { %>
<%= evidence.title %>
<% for(j, task) in evidence.tasks.iter().enumerate() { %>
- <%= i + 1 %>.<%= j + 1 %>: <%= task.title %> (<%- task.links[0].format_link() %>).
<% } %>
<% } %>