Pdf record di rapporti elettorali 0 voti

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 Mi Piace

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 Mi Piace

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 Mi Piace

Mi sono appena imbattuto in questo. Sembra un chiaro bug. Sarebbe certamente un miglioramento eliminare la parte “0 voti” dall’HTML, che non dovrebbe nemmeno esistere. Se noJS non può mostrare i voti, non dovrebbe mai mostrare “0 voti”. Non dovrebbe dire nulla sui voti a meno che non possa mostrarli correttamente.

La correzione completa probabilmente comporterebbe una funzione di “stampa” aggiunta a Discourse che in realtà quindi genera l’HTML appropriato quando qualcuno vuole creare una versione stampabile di qualcosa che include un sondaggio.

1 Mi Piace

Possiamo fare una correzione rapida nel CSS di stampa per i sondaggi @awesomerobot?

1 Mi Piace

SĂŹ, questo lo nasconde dalla stampa:

e dalla vista del crawler:

1 Mi Piace