We should probably display the description for each poll.

Comments

anders.fajerson’s picture

Yes we should :) Just looked at the patch briefly and here arae some hings that came up:

* We should probably use the same class name all over, "description" is probably enough, haven't done any research though to see if a class name for the body (which this is) is uses anywhere else in Drupal.

* The input format doesn't seem to be used (I have no linebreaks and no formatting for other than HTML)

* For block and on frontpage we should probably only display the teaser.

anders.fajerson’s picture

StatusFileSize
new1.3 KB

How about this?

Note that the Ajax-messages will come after the description, don't know if that's a bad thing, anyhow it's outside the scope of this patch. I also get a br for empty descriptions when using filtered HTML, pretty sure it's related to http://drupal.org/node/100679. I don't wrap the description with any divs, can't see a need for it yet, and you could always override the theme function.

ChrisKennedy’s picture

Status: Needs review » Fixed

Committed - http://drupal.org/cvs?commit=48227

I realized afterward that this causes the title to come after the description in blocks. I'm not sure if this can be solved by using #weight, modifying the theme function, or something else.

anders.fajerson’s picture

We need to look over the title (label) anyhow, it's not displayed correct in ranking/binary - list/block/individual.

Anonymous’s picture

Status: Fixed » Closed (fixed)