Registro PDF de informes de encuestas 0 votos

I (unfortunately) need to make a permanent record of a poll for regulatory purposes. How best to preserve a topic/post/poll as a permanent record

When I press Ctrl-P to create a pdf of the topic (in Firefox & Brave) the generated pdf shows:

  • For
  • Against

0 voters

When the pdf was generated, the (still open) poll actually had 6 voters on screen (6xFor, 0xAgainst).

1 me gusta

Our printer version of the page is JS free, and looks like the votes are attributed via JS.

Putting this information in HTML would require a rename on every vote, making it prohibitively expensive.

Your best best is taking a screenshot of said poll. And for our print page, hiding vote numbers is the easiest solution…

1 me gusta

Thanks for replying so quickly!

My workaround for now is to print to pdf and then edit/correct the pdf.

Hiding the error seems like a fairly weak step in the right direction. When I have to print a page, it seems fairly important to have (all) of the information on the page included - particularly the result of a poll, which is likely the crucial point of the topic!?

1 me gusta

Acabo de encontrarme con esto. Parece un error claro. Ciertamente sería una mejora eliminar la parte de “0 votos” del HTML, que ni siquiera debería existir. Si noJS no puede mostrar votos, nunca debería mostrar “0 votos”. No debería decir nada sobre los votos a menos que pueda mostrarlos correctamente.

La solución completa probablemente implicaría una función de “imprimir” añadida a Discourse que realmente entonces genere el HTML apropiado cuando alguien quiera hacer una versión impresa de algo que incluya una encuesta.

1 me gusta

¿Podemos hacer una corrección rápida en el CSS de impresión para las encuestas @awesomerobot?

1 me gusta

Sí, esto lo oculta de la impresión:

y de la vista del rastreador:

1 me gusta