medillcmip / Radregator

A Context Management System
GNU General Public License v3.0
7 stars 1 forks source link

Need to implement "classes" of questions and answers #86

Closed andrewpaley closed 13 years ago

andrewpaley commented 14 years ago

These are applied via classes in the template.html. Currently, all questions have "burning" class -- but that's in err.

QUESTION CLASSES: Burning Question: Need backend-driven benchmark for what constitutes a "burning question" Answered Question: Need to be able to test if replies exist Regular Question: do nothing

ANSWER CLASSES: Accepted answer: Test for "thumbs up" from questioner Moderator answer: Test if answerer is the moderator Opinion-y answer: Count number of times it's been flagged as opinion and add as a class to the container (ie: class="opinion3" for three "opinion" flags)