@@ -3,52 +3,46 @@ <h2 id="proposals" class="section-headline text-end">
3
3
{{ site["navigation"]["state-of-proposals"] }}
4
4
</ h2 >
5
5
< div class ="featurelist ">
6
- < h3 >
7
- {{ proposals["title"] }}
8
- </ h3 >
9
- < i class ="featurelist__desc ">
10
- {{ proposals["description"] }}
11
- </ i >
6
+ < h3 > {{ proposals["title"] }}</ h3 >
7
+ < i class ="featurelist__desc "> {{ proposals["description"] }} </ i >
12
8
{% if site.active_lang != site.default_lang %}
13
- < p >
14
- {{ proposals.community_translations }}
15
- </ p >
9
+ < p > {{ proposals.community_translations }}</ p >
16
10
{% endif %}
17
11
< details class ="featurelist__legend ">
18
- < summary > < strong >
19
- {{ proposals["how-to-read"]["title"] }}
20
- </ strong > </ summary >
21
- < p >
22
- {{ proposals["how-to-read"]["description"] }}
23
- </ p >
12
+ < summary >
13
+ < strong > {{ proposals["how-to-read"]["title"] }} </ strong >
14
+ </ summary >
15
+ < p > {{ proposals["how-to-read"]["description"] }}</ p >
24
16
25
-
26
- < strong >
27
- {{ proposals["how-to-read"]["tags"]["title"] }}
28
- </ strong >
17
+ < strong > {{ proposals["how-to-read"]["tags"]["title"] }} </ strong >
29
18
< ul class ="featurelist__legend__tags ">
30
- < li >
31
- {{ proposals["how-to-read"]["tags"]["last-presented"] }}:
32
- < div class ="featurelist__item__presented featurelist__item__tag ">
33
- < a href ="{{ presentation.url }} " title ='{{ proposals["last-presented-alt"] }} '> {{ proposals["how-to-read"]["tags"]["last-presented-fake-date"] }}</ a >
34
- </ div >
35
- </ li >
36
- < li >
37
- {{ proposals["how-to-read"]["tags"]["tests"] }}:
38
- < div class ="featurelist__item__tests featurelist__item__tag ">
39
- < a title ='{{ proposals["tests-alt"] }} '>
40
- {{ proposals["tests"] }}
41
- </ a >
42
- </ div >
43
- </ li >
44
- < li >
45
- {{ proposals["how-to-read"]["tags"]["spec"] }}:
46
- < div class ="featurelist__item__spec featurelist__item__tag ">
47
- < a title ='{{ proposals["specification-alt"] }} '>
48
- {{ proposals["specification"] }}
49
- </ a >
50
- </ div >
51
- </ li >
19
+ < li >
20
+ {{ proposals["how-to-read"]["tags"]["last-presented"] }}:
21
+ < div class ="featurelist__item__presented featurelist__item__tag ">
22
+ < a
23
+ href ="{{ presentation.url }} "
24
+ title ='{{ proposals["last-presented-alt"] }} '
25
+ > {{ proposals["how-to-read"]["tags"]["last-presented-fake-date"]
26
+ }}</ a
27
+ >
28
+ </ div >
29
+ </ li >
30
+ < li >
31
+ {{ proposals["how-to-read"]["tags"]["tests"] }}:
32
+ < div class ="featurelist__item__tests featurelist__item__tag ">
33
+ < a title ='{{ proposals["tests-alt"] }} '>
34
+ {{ proposals["tests"] }}
35
+ </ a >
36
+ </ div >
37
+ </ li >
38
+ < li >
39
+ {{ proposals["how-to-read"]["tags"]["spec"] }}:
40
+ < div class ="featurelist__item__spec featurelist__item__tag ">
41
+ < a title ='{{ proposals["specification-alt"] }} '>
42
+ {{ proposals["specification"] }}
43
+ </ a >
44
+ </ div >
45
+ </ li >
52
46
</ ul >
53
47
</ details >
54
48
</ div >
59
53
< div class ="featurelist__item__intro ">
60
54
< header class ="g-row ">
61
55
< h4 class ="featurelist__item__title flex-grow ">
62
- < a href ="https://github.com/tc39/{{ proposal[0] }} "> {{ proposal[1].title }}</ a >
56
+ < a href ="https://github.com/tc39/{{ proposal[0] }} "
57
+ > {{ proposal[1].title }}</ a
58
+ >
63
59
</ h4 >
64
60
< div class ="featurelist__item__tags ">
65
61
< ul class ="featurelist__item__status featurelist__item__tags ">
66
62
{% unless proposal[1].description %}
67
63
< li class ="featurelist__item__translation featurelist__item__tag ">
68
- < a href ="{{ proposals.needs_translation_url }} " title ='{{ proposals.needs_translation }} '>
69
- {{ proposals.needs_translation }}</ a >
64
+ < a
65
+ href ="{{ proposals.needs_translation_url }} "
66
+ title ="{{ proposals.needs_translation }} "
67
+ >
68
+ {{ proposals.needs_translation }}</ a
69
+ >
70
70
</ li >
71
- {% endunless %}
72
- {% if proposal[1].presented | size %}
73
- {% for presentation in proposal[1].presented %}
71
+ {% endunless %} {% if proposal[1].presented | size %} {% for
72
+ presentation in proposal[1].presented %}
74
73
< li class ="featurelist__item__presented featurelist__item__tag ">
75
74
{%- if presentation.url -%}
76
- < a href ="{{ presentation.url }} " title ='{{ proposals["last-presented-alt"] }} '>
75
+ < a
76
+ href ="{{ presentation.url }} "
77
+ title ='{{ proposals["last-presented-alt"] }} '
78
+ >
77
79
{{ proposals.months[presentation.month] }} {{ presentation.year}}
78
80
</ a >
79
81
{%- else -%}
80
- < span > {{ proposals.months[presentation.month] }} {{ presentation.year}}</ span >
82
+ < span
83
+ > {{ proposals.months[presentation.month] }} {{
84
+ presentation.year}}</ span
85
+ >
81
86
{%- endif -%}
82
87
</ li >
83
- {% endfor %}
84
- {% endif %}
85
- {% if proposal[1].tests | size %}
86
- {% for url in proposal[1].tests %}
87
- < li class ="featurelist__item__tests featurelist__item__tag ">
88
- < a href ="{{ url }} " title ='{{ proposals["test-alt"] }} '>
89
- {{ proposals["tests"] }}
90
- </ a >
91
- </ li >
92
- {% endfor %}
93
- {% endif %}
94
- {% if proposal[1].has_specification %}
95
- < li class ="featurelist__item__spec featurelist__item__tag ">
96
- < a href ="https://tc39.es/{{ proposal[1].id }} " title ='{{ proposals["specification-alt"] }} '>
97
- {{ proposals["specification"] }}
98
- </ a >
99
- </ li >
88
+ {% endfor %} {% endif %} {% if proposal[1].tests | size %} {% for url
89
+ in proposal[1].tests %}
90
+ < li class ="featurelist__item__tests featurelist__item__tag ">
91
+ < a href ="{{ url }} " title ='{{ proposals["test-alt"] }} '>
92
+ {{ proposals["tests"] }}
93
+ </ a >
94
+ </ li >
95
+ {% endfor %} {% endif %} {% if proposal[1].has_specification %}
96
+ < li class ="featurelist__item__spec featurelist__item__tag ">
97
+ < a
98
+ href ="https://tc39.es/{{ proposal[1].id }} "
99
+ title ='{{ proposals["specification-alt"] }} '
100
+ >
101
+ {{ proposals["specification"] }}
102
+ </ a >
103
+ </ li >
100
104
{% endif %}
101
105
</ ul >
102
106
</ div >
103
107
</ header >
104
108
< div class ="featurelist__item__author ">
105
- {% if proposal[1].authors == proposal[1].champions %}
106
- {{ proposals["authors-and-champions"] }}:
107
- {{ proposal[1].authors }}
108
- {% else %}
109
- {% if proposal[1].authors | size %}
110
- {% if proposal[1].authors.size > 1 %}
111
- {{ proposals["authors"] }}:
112
- {% else %}
113
- {{ proposals["author"] }}:
114
- {% endif %}
115
- {{ proposal[1].authors | join: ", " }}
116
- {% endif %}
117
- {% if proposal[1].champions | size %}
118
- |
119
- {% if proposal[1].champions.size > 1 %}
120
- {{ proposals["champions"] }}:
121
- {% else %}
122
- {{ proposals["champion"] }}
123
- {% endif %}
124
- {{ proposal[1].champions | join: ", " }}
125
- {% endif %}
126
- {% endif %}
109
+ {% if proposal[1].authors == proposal[1].champions %} {{
110
+ proposals["authors-and-champions"] }}: {{ proposal[1].authors }} {% else
111
+ %} {% if proposal[1].authors | size %} {% if proposal[1].authors.size > 1
112
+ %} {{ proposals["authors"] }}: {% else %} {{ proposals["author"] }}: {%
113
+ endif %} {{ proposal[1].authors | join: ", " }} {% endif %} {% if
114
+ proposal[1].champions | size %} | {% if proposal[1].champions.size > 1 %}
115
+ {{ proposals["champions"] }}: {% else %} {{ proposals["champion"] }} {%
116
+ endif %} {{ proposal[1].champions | join: ", " }} {% endif %} {% endif %}
127
117
</ div >
128
118
{% if proposal[1].description %}
129
119
< div class ="featurelist__item__desc "> {{ proposal[1].description }}</ div >
130
120
{% else %}
131
121
< div class ="featurelist__item__desc "> {{ proposal[1].description }}</ div >
132
- {% endif %}
133
- {% if proposal[1].example %}
122
+ {% endif %} {% if proposal[1].example %}
134
123
< div
135
124
class ="featurelist__item__example "
136
125
aria-controls ="example-{{ proposal[1].id }} "
@@ -154,7 +143,5 @@ <h4 class="featurelist__item__title flex-grow">
154
143
</ article >
155
144
{% endfor %}
156
145
< section class ="featurelist__more ">
157
- < a href ="https://github.com/tc39/proposals ">
158
- {{ proposals["see-more"] }}
159
- </ a >
146
+ < a href ="https://github.com/tc39/proposals "> {{ proposals["see-more"] }} </ a >
160
147
</ section >
0 commit comments