Kaynağa Gözat

Fix rendering spacing issues

Santiago Pastorino 4 yıl önce
ebeveyn
işleme
e15dbb441e

+ 2 - 2
templates/_issues.tt

@@ -2,6 +2,6 @@
 
 {% macro render(issues, indent="", empty="No issues this time.") %}
 {%- for issue in issues %}
-{{indent}}- {{issue::render(issue=issue)}}{% else %}{{indent}}- {{empty}}
-{% endfor -%}
+{{indent}}- {{issue::render(issue=issue)}}{% else %}
+{{indent}}- {{empty}}{% endfor -%}
 {% endmacro %}

+ 2 - 2
templates/_issues_with_meta.tt

@@ -2,6 +2,6 @@
 
 {% macro render(issues, indent="", empty="No issues this time.") %}
 {%- for issue in issues %}
-{{indent}}- {{issue::render(issue=issue)}}{% else %}{{indent}}- {{empty}}
-{% endfor -%}
+{{indent}}- {{issue::render(issue=issue)}}{% else %}
+{{indent}}- {{empty}}{% endfor -%}
 {% endmacro %}

+ 19 - 19
templates/agenda.tt

@@ -12,13 +12,13 @@ tags: weekly, rustc
 
 - Major Changes Proposals:
   - New accepted proposals
-{{issues::render(issues=mcp_accepted, indent="    ", empty="No new accepted proposals this time.")}}
+{{-issues::render(issues=mcp_accepted, indent="    ", empty="No new accepted proposals this time.")}}
   - Seconded proposals (in FCP)
-{{issues::render(issues=mcp_seconded, indent="    ", empty="No seconded proposals this time.")}}
+{{-issues::render(issues=mcp_seconded, indent="    ", empty="No seconded proposals this time.")}}
   - New proposals (not seconded)
-{{issues::render(issues=mcp_new_not_seconded, indent="    ", empty="No new proposals this time.")}}
+{{-issues::render(issues=mcp_new_not_seconded, indent="    ", empty="No new proposals this time.")}}
   - Old proposals (not seconded)
-{{issues::render(issues=mcp_old_not_seconded, indent="    ", empty="No old proposals this time.")}}
+{{-issues::render(issues=mcp_old_not_seconded, indent="    ", empty="No old proposals this time.")}}
 
 ### WG checkins
 
@@ -31,36 +31,36 @@ tags: weekly, rustc
 ## Beta-nominations
 
 [T-compiler](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Abeta-nominated+-label%3Abeta-accepted+label%3AT-compiler)
-{{issues::render(issues=beta_nominated_t_compiler, empty="No beta nominations this time.")}}
+{{-issues::render(issues=beta_nominated_t_compiler, empty="No beta nominations this time.")}}
 
 [libs-impl](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Abeta-nominated+-label%3Abeta-accepted+label%3Alibs-impl)
-{{issues::render(issues=beta_nominated_libs_impl, empty="No beta nominations this time.")}}
+{{-issues::render(issues=beta_nominated_libs_impl, empty="No beta nominations this time.")}}
 
 [T-rustdoc](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Abeta-nominated+-label%3Abeta-accepted+label%3AT-rustdoc)
-{{issues::render(issues=beta_nominated_t_rustdoc, empty="No beta nominations this time.")}}
+{{-issues::render(issues=beta_nominated_t_rustdoc, empty="No beta nominations this time.")}}
 
 :back: / :shrug: / :hand:
 
 ## Stable-nominations
 
 [T-compiler](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Astable-nominated+-label%3Astable-accepted+label%3AT-compiler)
-{{issues::render(issues=stable_nominated_t_compiler, empty="No stable nominations this time.")}}
+{{-issues::render(issues=stable_nominated_t_compiler, empty="No stable nominations this time.")}}
 
 [libs-impl](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Astable-nominated+-label%3Astable-accepted+label%3Alibs-impl)
-{{issues::render(issues=stable_nominated_libs_impl, empty="No stable nominations this time.")}}
+{{-issues::render(issues=stable_nominated_libs_impl, empty="No stable nominations this time.")}}
 
 [T-rustdoc](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Astable-nominated+-label%3Astable-accepted+label%3AT-rustdoc)
-{{issues::render(issues=stable_nominated_t_rustdoc, empty="No stable nominations this time.")}}
+{{-issues::render(issues=stable_nominated_t_rustdoc, empty="No stable nominations this time.")}}
 
 :back: / :shrug: / :hand:
 
 ## PRs S-waiting-on-team
 
 [T-compiler](https://github.com/rust-lang/rust/pulls?utf8=%E2%9C%93&q=is%3Aopen+label%3AS-waiting-on-team+label%3AT-compiler)
-{{issues::render(issues=prs_waiting_on_team_t_compiler, empty="No PRs waiting on T-compiler this time.")}}
+{{-issues::render(issues=prs_waiting_on_team_t_compiler, empty="No PRs waiting on T-compiler this time.")}}
 
 [libs-impl](https://github.com/rust-lang/rust/pulls?utf8=%E2%9C%93&q=is%3Aopen+label%3AS-waiting-on-team+label%3Alibs-impl)
-{{issues::render(issues=prs_waiting_on_team_libs_impl, empty="No PRs wiating on libs-impl this time.")}}
+{{-issues::render(issues=prs_waiting_on_team_libs_impl, empty="No PRs wiating on libs-impl this time.")}}
 
 ## Issues of Note
 
@@ -77,21 +77,21 @@ tags: weekly, rustc
 ### P-critical
 
 [T-compiler](https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3AP-critical+label%3AT-compiler)
-{{issues::render(issues=p_critical_t_compiler, empty="No P-critical issues for T-compiler this time.")}}
+{{-issues::render(issues=p_critical_t_compiler, empty="No P-critical issues for T-compiler this time.")}}
 
 [libs-impl](https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3AP-critical+label%3Alibs-impl)
-{{issues::render(issues=p_critical_libs_impl, empty="No P-critical issues for libs-impl this time.")}}
+{{-issues::render(issues=p_critical_libs_impl, empty="No P-critical issues for libs-impl this time.")}}
 
 [T-rustdoc](https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3AP-critical+label%3AT-rustdoc)
-{{issues::render(issues=p_critical_t_rustdoc, empty="No P-critical issues for T-rustdoc this time.")}}
+{{-issues::render(issues=p_critical_t_rustdoc, empty="No P-critical issues for T-rustdoc this time.")}}
 
 ### Unassigned P-high regressions
 
 [Beta regressions](https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3Aregression-from-stable-to-beta+P-high+no%3Aassignee)
-{{issues::render(issues=beta_regressions_unassigned_p_high, empty="No unassigned P-high beta regressions this time.")}}
+{{-issues::render(issues=beta_regressions_unassigned_p_high, empty="No unassigned P-high beta regressions this time.")}}
 
 [Nightly regressions](https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3Aregression-from-stable-to-nightly+P-high+no%3Aassignee)
-{{issues::render(issues=nightly_regressions_unassigned_p_high, empty="No unassigned P-high nightly regressions this time.")}}
+{{-issues::render(issues=nightly_regressions_unassigned_p_high, empty="No unassigned P-high nightly regressions this time.")}}
 
 ## Performance logs
 
@@ -101,7 +101,7 @@ tags: weekly, rustc
 ## Nominated Issues
 
 [T-compiler](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3AT-compiler)
-{{issues::render(issues=i_nominated_t_compiler, empty="No nominated issues for T-compiler this time.")}}
+{{-issues::render(issues=i_nominated_t_compiler, empty="No nominated issues for T-compiler this time.")}}
 
 [libs-impl](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3Alibs-impl)
-{{issues::render(issues=i_nominated_libs_impl, empty="No nominated issues for libs-impl this time.")}}
+{{-issues::render(issues=i_nominated_libs_impl, empty="No nominated issues for libs-impl this time.")}}

+ 5 - 5
templates/nominations.tt

@@ -8,7 +8,7 @@
 
 ### Issues
 
-{{issues::render(issues=nominations_stable_nominated, empty="There are no stable nominations this time.")}}
+{{-issues::render(issues=nominations_stable_nominated, empty="There are no stable nominations this time.")}}
 
 ## Beta nominations
 
@@ -18,7 +18,7 @@
 
 ### Issues
 
-{{issues::render(issues=nominations_beta_nominated, empty="There are no beta nominations this time.")}}
+{{-issues::render(issues=nominations_beta_nominated, empty="There are no beta nominations this time.")}}
 
 ## I-nominated
 
@@ -28,7 +28,7 @@
 
 ### Issues
 
-{{issues::render(issues=nominations_i_nominated, empty="There are no I-nominated issues this time.")}}
+{{-issues::render(issues=nominations_i_nominated, empty="There are no I-nominated issues this time.")}}
 
 2. [I-nominated T-compiler](https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3AI-nominated+label%3AT-compiler)
     - Remove leftovers from last meeting.
@@ -36,7 +36,7 @@
 
 ### Issues
 
-{{issues::render(issues=nominations_i_nominated_t_compiler, empty="There are no I-nominated issues for T-compiler this time.")}}
+{{-issues::render(issues=nominations_i_nominated_t_compiler, empty="There are no I-nominated issues for T-compiler this time.")}}
 
 3. [I-nominated libs-impl](https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3AI-nominated+label%3Alibs-impl)
     - Remove leftovers from last meeting.
@@ -44,4 +44,4 @@
 
 ### Issues
 
-{{issues::render(issues=nominations_i_nominated_libs_impl, empty="There are no I-nominated issues for libs-impl this time.")}}
+{{-issues::render(issues=nominations_i_nominated_libs_impl, empty="There are no I-nominated issues for libs-impl this time.")}}

+ 3 - 3
templates/prs_waiting_on_team.tt

@@ -8,18 +8,18 @@
 
 ### Issues
 
-{{issues::render(issues=prs_waiting_on_team_all, empty="There are no PR's waiting on team this time.")}}
+{{-issues::render(issues=prs_waiting_on_team_all, empty="There are no PR's waiting on team this time.")}}
 
 2. [PR's waiting on T-compiler](https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-team+label%3AT-compiler)
     - Explicitly nominate any that you think may be able to be resolved *quickly* in triage meeting.
 
 ### Issues
 
-{{issues::render(issues=prs_waiting_on_team_t_compiler, empty="There are no PR's waiting on T-compiler this time.")}}
+{{-issues::render(issues=prs_waiting_on_team_t_compiler, empty="There are no PR's waiting on T-compiler this time.")}}
 
 3. [PR's waiting on libs-impl](https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-team+label%3Alibs-impl)
     - Explicitly nominate any that you think may be able to be resolved *quickly* in triage meeting.
 
 ### Issues
 
-{{issues::render(issues=prs_waiting_on_team_libs_impl, empty="There are no PR's waiting on libs-impl this time.")}}
+{{-issues::render(issues=prs_waiting_on_team_libs_impl, empty="There are no PR's waiting on libs-impl this time.")}}

+ 3 - 3
templates/regressions.tt

@@ -9,7 +9,7 @@
 
 ### Issues
 
-{{issues::render(issues=regressions_stable_to_beta, empty="There are no stable to beta regressions this time.")}}
+{{-issues::render(issues=regressions_stable_to_beta, empty="There are no stable to beta regressions this time.")}}
 
 2. [Nightly regressions without P-label](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-nightly+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+-label%3AT-infra+-label%3AT-libs+-label%3AT-release+-label%3AT-rustdoc)
 - Prioritize.
@@ -18,7 +18,7 @@
 
 ### Issues
 
-{{issues::render(issues=regressions_stable_to_nightly, empty="There are no stable to nightly regressions this time.")}}
+{{-issues::render(issues=regressions_stable_to_nightly, empty="There are no stable to nightly regressions this time.")}}
 
 3. [Stable regressions without P-label](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-stable+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+-label%3AT-infra+-label%3AT-libs+-label%3AT-release+-label%3AT-rustdoc)
     - Prioritize (once we have this under control).
@@ -27,4 +27,4 @@
 
 ### Issues
 
-{{issues::render(issues=regressions_stable_to_stable, empty="There are no stable to stable regressions this time.")}}
+{{-issues::render(issues=regressions_stable_to_stable, empty="There are no stable to stable regressions this time.")}}

+ 3 - 3
templates/unpri_i_prioritize.tt

@@ -8,7 +8,7 @@
 
 ### Issues
 
-{{issues::render(issues=unpri_i_prioritize_all, empty="There are no unprioritized I-prioritize issues this time.")}}
+{{-issues::render(issues=unpri_i_prioritize_all, empty="There are no unprioritized I-prioritize issues this time.")}}
 
 2. [T-compiler](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AT-compiler+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize)
     - Prioritize issues and remove nomination of the ones not worth discussing.
@@ -17,7 +17,7 @@
 
 ### Issues
 
-{{issues::render(issues=unpri_i_prioritize_t_compiler, empty="There are no unprioritized I-prioritize issues for T-compiler this time.")}}
+{{-issues::render(issues=unpri_i_prioritize_t_compiler, empty="There are no unprioritized I-prioritize issues for T-compiler this time.")}}
 
 3. [libs-impl](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3Alibs-impl+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize)
     - Prioritize issues and remove nomination of the ones not worth discussing.
@@ -26,4 +26,4 @@
 
 ### Issues
 
-{{issues::render(issues=unpri_i_prioritize_libs_impl, empty="There are no unprioritized I-prioritize issues for libs-impl this time.")}}
+{{-issues::render(issues=unpri_i_prioritize_libs_impl, empty="There are no unprioritized I-prioritize issues for libs-impl this time.")}}