Hello, are somebody know how create link in menu empty if current page like 
link in menu, but not empty if page is not like in link.
I do like that:

response.menu.insert(0, (T('Editor'), False, '#', [
    (T('Edit timetable'), False, '#' if (request.controller == 'default' and 
request.function == 'selectTimetable') else URL('default', 'selectTimetable')),
]))

If there is more elegant way share it please.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/55bb4857-f9fe-43c7-b831-b82a9ceba92e%40googlegroups.com.

Reply via email to