keokilee / makahiki

An open source framework for creating dorm energy competitions using Django and Pinax.
http://code.google.com/p/kukui-cup
12 stars 8 forks source link

Back button doesn't work in mobile Events #341

Closed rbrewer closed 13 years ago

rbrewer commented 13 years ago

The Back button doesn't seem to work well in the mobile Events section. Couldn't get back to list of events, in fact got an error dialog.

gregorylburgess commented 13 years ago

I'm unable to replicate the problem, can you verify/give instance conditions

gregorylburgess commented 13 years ago

fixed by redirected to smartgrid page, please verify

rbrewer commented 13 years ago

This is suboptimal, as I'd really like to get back to the m/events/Upcoming page rather than the Smart Grid Game page. Is that hard to do?

gregorylburgess commented 13 years ago

would it be good to redirect the activities/commitments back to the smartgrid sub-category page (i.e. the lights out activity list) instead of the smartgrid home page? this adds one more click if someone wants to get back to the SG home page, but one less if they want to get back to the sub-category page.

rbrewer commented 13 years ago

George says use request.META["HTTP_REFERER"] to figure out where the user came from, so the back button will go back there.