saschagottfried / todopyramid

My refactored version of ToDo Pyramid
1 stars 0 forks source link

Implementation of current navbar item logic does not work for forbidden views #30

Open saschagottfried opened 10 years ago

saschagottfried commented 10 years ago

Current implementation works with a section variable. Several views are responsible for setting up the value. The value will be evaluated within global template to control navbar CSS to highlight current item.

This does not work for forbidden views, only while being authenticated.

saschagottfried commented 10 years ago

It is possible, that current state is by intention. Section variable is not only responsible for navbar highlighting but for construction other CSS classes in templates.