cit-jmu/rooibos — pull request #17 by hanleybrand (2012-10-31 20:18:34+00:00)
Title: Two small fixes to avoid debugger errors on init

Two small template errors that popped up while debugging

1. var 'content_color' does not exist at line 309 of master.css
https://github.com/hanleybrand/rooibos/blob/45242432284e19e891e812645ad8e4a0169e068e/rooibos/ui/templates/master.css#L309
I wasn't entirely sure what that should be so I set it to a middle-ish grey (rgb(170,170,170)) - that color value may need to be changed
https://github.com/hanleybrand/rooibos/blob/45242432284e19e891e812645ad8e4a0169e068e/rooibos/ui/templates/master.css#L11
1. var 'related_pages.pages' does not exist at line 1 of ui_related_pages.html
https://github.com/hanleybrand/rooibos/blob/45242432284e19e891e812645ad8e4a0169e068e/rooibos/ui/templates/ui_related_pages.html
I wasn't sure if the debugger just wasn't finding the view, or if it didn't exist, but sticking a firstof before the if seems to let the if statement function as it should (the if should be evaluating to False on startup, but instead it was throwing a template error).