سجل PDF لتقارير الاقتراع 0 أصوات

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)

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)

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)

لقد واجهت هذا للتو. يبدو أنه خطأ واضح. سيكون بالتأكيد تحسينًا للقضاء على جزء “0 تصويت” من HTML، والذي لا ينبغي أن يكون موجودًا على الإطلاق. إذا لم يتمكن noJS من عرض الأصوات، فلا ينبغي له أبدًا عرض “0 تصويت”. لا ينبغي أن يذكر شيئًا عن الأصوات ما لم يكن بإمكانه عرضها بشكل صحيح.

من المحتمل أن يتضمن الإصلاح الكامل وظيفة “طباعة” مضافة إلى Discourse والتي تقوم بالفعل بإخراج HTML المناسب عندما يريد شخص ما إنشاء نسخة مطبوعة من شيء يتضمن استطلاع رأي.

إعجاب واحد (1)

هل يمكننا إجراء إصلاح سريع في CSS الطباعة للاستطلاعات يا @awesomerobot؟

إعجاب واحد (1)

نعم، هذا يخفيه عن الطباعة:

ومن عرض الزاحف:

إعجاب واحد (1)