CLI HTML output: Correctly generate print view for other report styles

This commit is contained in:
RunasSudo 2022-08-27 01:04:10 +10:00
parent fafb093c1a
commit 1a57fba093
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 2 additions and 2 deletions

View File

@ -782,8 +782,8 @@ where
</div></div>
<div id="printWarning">Printing directly from this page is not supported. Use the Print result button to generate a printer-friendly report.</div>
<script src="https://yingtongli.me/opentally/stv/print.js"></script>
<input type="hidden" id="selReport" value="votes_transposed"><!-- TODO: Allow this to be customised -->
</body></html>"#);
<input type="hidden" id="selReport" value="{}">
</body></html>"#, report_style);
return Ok(());
}