nhoj
(John A Brown)
2020 年 9 月 2 日午後 11:29
1
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:
0 voters
When the pdf was generated, the (still open) poll actually had 6 voters on screen (6xFor, 0xAgainst).
「いいね!」 1
Falco
(Falco)
2020 年 9 月 3 日午前 12:42
2
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
nhoj
(John A Brown)
2020 年 9 月 3 日午前 3:41
3
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
wolftune
(Wolftune)
2022 年 2 月 11 日午前 12:29
4
これに遭遇しました。明らかなバグのようです。「0票」の部分をHTMLから削除するのは間違いなく改善でしょう。これは存在するべきではありません。noJSで票数を表示できない場合、「0票」を絶対に表示すべきではありません。票数を正しく表示できない限り、票に関する何も言うべきではありません。
完全な修正には、Discourseに「print」関数を追加することが含まれるでしょう。これは、誰かが投票を含むものの印刷バージョンを作成したい場合に、適切なHTMLを実際に出力します。
「いいね!」 1
印刷用CSSの簡単な修正をしてもらうことは可能ですか? @awesomerobot
「いいね!」 1