diff --git a/src/js/index.js b/src/js/index.js index 19e7ba64..ff266a7c 100755 --- a/src/js/index.js +++ b/src/js/index.js @@ -55,7 +55,11 @@ const render = async () => { } // render the output header - document.getElementById('output-header').innerHTML = templates.header(_state); + let header = `

${_state.form.version_tags}

\n`; + if (_state.output.showSupports) { + header += '
\n Supports '+_state.output.oldestClients.join(', ')+'
\n'; + } + document.getElementById('output-header').innerHTML = header; if (_state.output.protocols.length === 0) { document.getElementById('output-config').innerHTML = diff --git a/src/templates/partials/header.hbs b/src/templates/partials/header.hbs deleted file mode 100644 index 057f3647..00000000 --- a/src/templates/partials/header.hbs +++ /dev/null @@ -1,10 +0,0 @@ -

- {{form.version_tags}} -

-{{#if output.showSupports}} -
- Supports {{#each output.oldestClients}} - {{#if @last}} and {{this}}{{else}}{{this}}, {{/if}} - {{/each}} -
-{{/if}}