ryang-inova/django-knowledge — pull request #9 by ayz7bs (2014-08-15 15:02:07+00:00)
Title: Show top 5 questions, with button to expand

I've made it so that the top 5 most recent questions are available to be seen, but then when you click on something you can expand the rest of it. I didn't know whether we wanted a button, but I have it so that the javascript part will work. I figured someone who knows can always go in later and add formatting, since the button was hot pink.

However, this does seem to interfere with the footer in the inova part. I don't know what causes it, because the footer's always been a pain. Just so that you're aware of it, though.

Note: Andrew, in kanbanflow, said that he wanted the categories limited too, but since I didn't know how many categories there were I left it as is (because I feel like categories is something that people want to see all of). However, if the categories eventually becomes super large, then the code in sidebar.html for the questions can be duplicated for the categories, just making sure to replace the appropriate variables.