71 | | # List Options (from which to build Menu for this Module) |
72 | | options = db(db['%s_menu_option' % module].enabled=='Yes').select(db['%s_menu_option' % module].ALL, orderby=db['%s_menu_option' % module].priority) |
| 71 | |
| 72 | # Options Menu (available in all Functions' Views) |
| 73 | response.menu_options = [ |
| 74 | [T('Home'), False, URL(r=request, f='index')], |
| 75 | [T('Add Vehicle'), False, URL(r=request, f='vehicle', args='create')], |
| 76 | [T('List Vehicles'), False, URL(r=request, f='vehicle')], |
| 77 | [T('Search Vehicles'), False, URL(r=request, f='vehicle', args='search')] |
| 78 | ] |
| 79 | |