Skip to content

Commit 7d92508

Browse files
committed
Remove the full ISO title prefix from working drafts.
We'll probably want it in the cover page for ballots, but it doesn't need to appear in the mailings.
1 parent 2815350 commit 7d92508

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

titlepage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<tr><th>Editor:</th><td><content select="cxx-editor"/></td></tr>
5959
</template>
6060
</table>
61-
<h1>{{title_prefix}}, Information technology – Programming languages, their environments and system software interfaces – {{title}}</h1>
61+
<h1>{{stage_title}}, {{iso_title_prefix}}{{title}}</h1>
6262
<template if="{{stage == 'draft'}}">
6363
<p class="warning"><strong>Note: this is an early draft. It’s known to be
6464
incomplet and incorrekt, and it has lots of b<span

titlepage.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ limitations under the License.
3030
this.title = this.querySelector('h1').textContent;
3131
this.stage = this.getAttribute('stage');
3232
if (this.stage == 'draft') {
33-
this.title_prefix = "Working Draft";
33+
this.stage_title = "Working Draft";
34+
//} else if (this.stage == 'pdts') {
35+
// this.iso_title_prefix = "Information technology – Programming languages, their environments and system software interfaces – "
3436
} else {
3537
console.error('Unexpected stage: ' + this.stage);
3638
}
3739
if (this.title) {
38-
document.title = this.title + ', ' + this.title_prefix;
40+
document.title = this.title + ', ' + this.stage_title;
3941
}
4042
},
4143
})

0 commit comments

Comments
 (0)