Improve influence comment handling.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 29 Oct 2008 10:31:19 +0000 (11:31 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 29 Oct 2008 10:31:19 +0000 (11:31 +0100)
commit435a62554852c2863d2247c04df4342e002576fc
tree3da619dde9c8227062bc831f247cf21b38f98bae
parent23156cc57dcbf1ee2dd010466e3d786443eea136
Improve influence comment handling.

This adds a number of form classes for commenting, which allow to choose
between public or private comments and can prevent the choice of markup.
Using a wrapper function, the right class can be selected depending on
the logged in user and the comment to reply to.

Each comment to display is annotated with the reply form to reply to it,
so we no longer need changes in threaded_comments to support quoted
replies.

Additionally, a new view is added that handles the selection of the
right form class when saving a comment.
influences/views.py
templates/influences/influence_detail_block.html
urls.py