Skip to content

Commit 6dfe39d

Browse files
authored
Merge branch 'rust-lang:main' into main
2 parents 031a482 + 9c18905 commit 6dfe39d

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

locales/en-US/governance.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ governance-alumni-thanks = We also want to thank all past members for their inva
3636
3737
## governance/all-team-members.hbs
3838
governance-all-team-members-title = All Rust team members
39-
governance-all-team-members-intro = This section lists the members of currently active Rust teams.
40-
governance-all-team-members-alumni-intro = This section lists our team alumni.
39+
governance-all-team-members-intro = This section lists the { $count } members of currently active Rust teams.
40+
governance-all-team-members-alumni-intro = This section lists our { $count } team alumni.
4141
4242
## govenance/person.hbs
4343
governance-person-title = Rust Project team member

src/redirect.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pub static PAGE_REDIRECTS: &[(&str, &str)] = &[
3939
// miscellaneous
4040
("governance/teams", "governance#teams"),
4141
("governance/wgs", "governance#working-groups"),
42+
("governance/all-team-members.html", "governance/people"),
4243
];
4344

4445
pub static STATIC_FILES_REDIRECTS: &[(&str, &str)] = &[

src/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ pub fn render_governance(render_ctx: &RenderCtx) -> anyhow::Result<()> {
227227

228228
// Page with all team members
229229
let all_team_members_data = render_ctx.teams.all_team_members();
230-
for_all_langs("governance/all-team-members.html", |dst_path, lang| {
230+
for_all_langs("governance/people/index.html", |dst_path, lang| {
231231
render_ctx
232232
.page(
233233
"governance/all-team-members",

src/styles/app.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ body {
3434
flex-direction: column;
3535
& > main {
3636
flex: 1;
37+
display: flex;
38+
flex-direction: column;
39+
40+
& > section:last-child {
41+
flex: 1;
42+
}
3743
}
3844
}
3945

templates/governance/all-team-members.html.hbs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
{{#*inline "page"}}
1818
<section class="green" style="padding-bottom: 10px;">
1919
<div class="w-100 mw-none mw-8-m mw9-l center f2">
20-
<p>{{fluent "governance-all-team-members-intro"}}</p>
20+
<p>{{#fluent "governance-all-team-members-intro"}}{{#fluentparam
21+
"count"}}{{len data.active}}{{/fluentparam}}{{/fluent}}</p>
2122
</div>
2223
</section>
2324

@@ -31,7 +32,8 @@
3132

3233
<section class="red" style="padding-bottom: 10px;">
3334
<div class="w-100 mw-none mw-8-m mw9-l center f2">
34-
<p>{{fluent "governance-all-team-members-alumni-intro"}}</p>
35+
<p>{{#fluent "governance-all-team-members-alumni-intro"}}{{#fluentparam
36+
"count"}}{{len data.alumni}}{{/fluentparam}}{{/fluent}}</p>
3537
</div>
3638
</section>
3739

templates/governance/index.html.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{{/each~}}
3636
</div>
3737
<div class="flex">
38-
<a href="{{baseurl}}/governance/all-team-members.html" class="center w-100 mw6 button button-secondary">
38+
<a href="{{baseurl}}/governance/people" class="center w-100 mw6 button button-secondary">
3939
{{fluent "governance-rust-project-link"}}
4040
</a>
4141
</div>

0 commit comments

Comments
 (0)