diff options
Diffstat (limited to 'budget/templates/recent_projects.html')
| -rw-r--r-- | budget/templates/recent_projects.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/budget/templates/recent_projects.html b/budget/templates/recent_projects.html new file mode 100644 index 0000000..423db7e --- /dev/null +++ b/budget/templates/recent_projects.html @@ -0,0 +1,8 @@ +{% if 'projects' in session %} + <h3>Recently visisted projects</h3> + <ul> + {% for id, name in session['projects'] %} + <li><a href="{{ url_for("list_bills", project_id=id) }}">{{ name }}</a></li> + {% endfor %} + </ul> +{% endif %} |
