Skip to content

Commit 2ae3700

Browse files
encukounedbat
authored andcommitted
Rearrange comments/assignments
1 parent 38ad862 commit 2ae3700

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_tools/release_cycle_template.svg.jinja

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,15 @@
7474
</mask>
7575

7676
{% for version in versions %}
77-
{% set top_y = version.y * line_height - 1 * SCALE %}
78-
{% set small_text_y = version.y * line_height - 0.1 * SCALE %}
79-
{% set height = 1.25 * SCALE %}
80-
8177
<!-- Colourful blob with a label. -->
8278

79+
{% set top_y = version.y * line_height - 1 * SCALE %}
80+
{% set height = 1.25 * SCALE %}
8381
{% set start_x = date_to_x(version.first_release_date) %}
8482
{% set end_x = date_to_x(version.end_of_life_date) %}
83+
{% set radius = 0.25 * SCALE %}
84+
85+
{% set small_text_y = version.y * line_height - 0.1 * SCALE %}
8586

8687
<!-- bugfix/security blobs need to be split between the two phases.
8788
Draw the rectangle with two path elements instead.
@@ -90,7 +91,6 @@
9091
{% set middle_x = ([end_x, date_to_x(version.start_security_date)]|min) %}
9192
{% set left_width = (middle_x - start_x) %}
9293
{% set right_width = (end_x - middle_x) %}
93-
{% set radius = 0.25 * SCALE %}
9494

9595
{% if version.status != "end-of-life" %}
9696
<!-- Split the blob using path operations

0 commit comments

Comments
 (0)