Skip to content

Display team alumni in the governance page #1025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions locales/en-US/governance.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ governance-team-discord = { $channel } on Discord
governance-user-github = GitHub: { $link }
governance-user-team-leader = Team leader
governance-members-header = Members
governance-alumni-header = Alumni
governance-alumni-thanks = We also want to thank all past members for their invaluable contributions!
1 change: 1 addition & 0 deletions src/teams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ mod tests {
github_id: 1234,
},
],
alumni: Vec::new(),
website_data: Some(TeamWebsite {
name: format!("Team {}", name),
description: format!("Description of {}", name),
Expand Down
21 changes: 21 additions & 0 deletions templates/governance/group-team.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,26 @@
</div>
{{/each}}
</div>
{{#if team.alumni}}
<header class="pb3 pt3">
<h2 class="f2">{{fluent "governance-alumni-header"}}</h2>
</header>
<p>{{fluent "governance-alumni-thanks"}}</p>
<div class="flex flex-column flex-row-l flex-wrap-l justify-start">
{{#each team.alumni as |member|}}
<div class="w-100 w-33-l mb3 flex flex-row items-center">
<a class="mr4 w3 h3 flex-no-shrink" href="https://github.com/{{member.github}}">
<img class="w-100 h-100 bg-white br2" src="https://avatars.githubusercontent.com/{{member.github}}">
</a>
<div>
{{member.name}}
<div class="f4">
GitHub: <a href="https://github.com/{{member.github}}">{{member.github}}</a>
</div>
</div>
</div>
{{/each}}
</div>
{{/if}}
{{/if}}
</div>