@@ -115,16 +115,10 @@ export default conf => {
115115 : ""
116116 }
117117 ${
118- conf . isED
118+ conf . isED && conf . prevED
119119 ? html `
120- ${
121- conf . prevED
122- ? html `
123- < dt > Previous editor's draft:</ dt >
124- < dd > < a href ="${ conf . prevED } "> ${ conf . prevED } </ a > </ dd >
125- `
126- : ""
127- }
120+ < dt > Previous editor's draft:</ dt >
121+ < dd > < a href ="${ conf . prevED } "> ${ conf . prevED } </ a > </ dd >
128122 `
129123 : ""
130124 }
@@ -137,25 +131,17 @@ export default conf => {
137131 : ""
138132 }
139133 ${
140- conf . prevRecURI
134+ ! conf . prevRecURI
135+ ? ""
136+ : conf . isRec
141137 ? html `
142- ${
143- conf . isRec
144- ? html `
145- < dt > Previous Recommendation:</ dt >
146- < dd >
147- < a href ="${ conf . prevRecURI } "> ${ conf . prevRecURI } </ a >
148- </ dd >
149- `
150- : html `
151- < dt > Latest Recommendation:</ dt >
152- < dd >
153- < a href ="${ conf . prevRecURI } "> ${ conf . prevRecURI } </ a >
154- </ dd >
155- `
156- }
138+ < dt > Previous Recommendation:</ dt >
139+ < dd > < a href ="${ conf . prevRecURI } "> ${ conf . prevRecURI } </ a > </ dd >
140+ `
141+ : html `
142+ < dt > Latest Recommendation:</ dt >
143+ < dd > < a href ="${ conf . prevRecURI } "> ${ conf . prevRecURI } </ a > </ dd >
157144 `
158- : ""
159145 }
160146 < dt > ${ conf . multipleEditors ? conf . l10n . editors : conf . l10n . editor } </ dt >
161147 ${ showPeople ( conf , "Editor" , conf . editors ) }
@@ -330,24 +316,20 @@ export default conf => {
330316 > document use</ a
331317 >
332318 `
319+ : conf . isW3CSoftAndDocLicense
320+ ? html `
321+ < a
322+ rel ="license "
323+ href ="https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document "
324+ > permissive document license</ a
325+ >
326+ `
333327 : html `
334- ${
335- conf . isW3CSoftAndDocLicense
336- ? html `
337- < a
338- rel ="license "
339- href ="https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document "
340- > permissive document license</ a
341- >
342- `
343- : html `
344- < a
345- rel ="license "
346- href ="https://www.w3.org/Consortium/Legal/copyright-documents "
347- > document use</ a
348- >
349- `
350- }
328+ < a
329+ rel ="license "
330+ href ="https://www.w3.org/Consortium/Legal/copyright-documents "
331+ > document use</ a
332+ >
351333 `
352334 }
353335 rules apply.
0 commit comments