Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
fix(w3c): remove team-SUBM status (speced#3866)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres authored Nov 9, 2021
1 parent e2a0ff6 commit c12a12f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
13 changes: 0 additions & 13 deletions src/w3c/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ const status2maturity = {

const publicationSpaces = {
"Member-SUBM": "/Submission",
"Team-SUBM": "/TeamSubmission/",
finding: "/2001/tag/doc",
"draft-finding": "/2001/tag/doc",
};
Expand All @@ -136,7 +135,6 @@ const status2text = {
NOTE: "Group Note",
STMT: "Statement",
"Member-SUBM": "Member Submission",
"Team-SUBM": "Team Submission",
MO: "Member-Only Document",
ED: "Editor's Draft",
LS: "Living Standard",
Expand Down Expand Up @@ -401,17 +399,6 @@ export async function run(conf) {
};
conf.logos.push({ ...baseLogo, ...memSubmissionLogo });
}
conf.isTeamSubmission = conf.specStatus === "Team-SUBM";
if (conf.isTeamSubmission) {
const teamSubmissionLogo = {
alt: "W3C Team Submission",
href: "https://www.w3.org/TeamSubmission/",
src: "https://www.w3.org/Icons/team_subm-v.svg",
width: "211",
};
conf.logos.push({ ...baseLogo, ...teamSubmissionLogo });
}
conf.isSubmission = conf.isMemberSubmission || conf.isTeamSubmission;
conf.isTagFinding =
conf.specStatus === "finding" ||
conf.specStatus === "draft-finding" ||
Expand Down
18 changes: 2 additions & 16 deletions src/w3c/templates/sotd.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default (conf, opts) => {
? renderIsNoTrack(conf, opts)
: html`
<p><em>${conf.l10n.status_at_publication}</em></p>
${conf.isSubmission
${conf.isMemberSubmission
? noteForSubmission(conf, opts)
: html`
${!conf.sotdAfterWGinfo ? opts.additionalContent : ""}
Expand Down Expand Up @@ -353,11 +353,7 @@ function renderDeliverer(conf) {
function noteForSubmission(conf, opts) {
return html`
${opts.additionalContent}
${conf.isMemberSubmission
? noteForMemberSubmission(conf)
: conf.isTeamSubmission
? noteForTeamSubmission(conf, opts)
: ""}
${conf.isMemberSubmission ? noteForMemberSubmission(conf) : ""}
`;
}

Expand Down Expand Up @@ -395,16 +391,6 @@ function noteForMemberSubmission(conf) {
</p>`;
}

function noteForTeamSubmission(conf, opts) {
return html`
${renderPublicList(conf, opts)}
<p>
Please consult the complete
<a href="https://www.w3.org/TeamSubmission/">list of Team Submissions</a>.
</p>
`;
}

export function renderPublicList(conf, opts) {
const { mailToWGPublicListWithSubject, mailToWGPublicListSubscription } =
opts;
Expand Down

0 comments on commit c12a12f

Please sign in to comment.