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

Just ran into this. Seems a clear bug. Would be certainly an improvement to eliminate the “0 votes” part from HTML, that shouldn’t even exist. If noJS can’t show votes, it should never show “0 votes”. It shouldn’t say anything about votes unless it can show them correctly.

The full fix would probably involve a “print” function added to Discourse that actually then outputs the appropriate HTML when someone wants to make a print version of something that includes a poll.

1 me gusta

Can we do a quick fix in the print CSS for polls @awesomerobot ?

1 me gusta

Yeah this hides it from print:

and from crawler view:

1 me gusta