$def with (nav, project_bulk_one, project_bulk_two, projects, categories)
Beelance2
$:nav
Welcome $session.username!
$if session.username:
What would you like to do today?
My Projects
Customer Projects
Finished Projects
$if projects == 'my':
Your open projects
$elif projects == 'customer':
Customer projects in progress
$elif projects == 'finished':
My finished projects
$for project in project_bulk_one:
Title: $project[3]
Description: $project[4]
Category: $categories[project[1]-1][1]
$if projects == 'my':
Projects in progress
$elif projects == 'finished':
Finished customer projects
$for project in project_bulk_two:
Title: $project[3]
Description: $project[4]
Category: $categories[project[1]-1][1]