aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/layout.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-08-21 02:37:15 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2011-08-21 02:37:15 +0200
commita6825cdcb73421a0443b14130c89e2cc545a2ab9 (patch)
treeac4439a2033724ed5d04de8c876fe6671df4d73b /budget/templates/layout.html
parent03bb52f4c1ac22367b9a4f30604950c6666f5fd4 (diff)
downloadihatemoney-mirror-a6825cdcb73421a0443b14130c89e2cc545a2ab9.zip
ihatemoney-mirror-a6825cdcb73421a0443b14130c89e2cc545a2ab9.tar.gz
ihatemoney-mirror-a6825cdcb73421a0443b14130c89e2cc545a2ab9.tar.bz2
styling & usability
Diffstat (limited to 'budget/templates/layout.html')
-rw-r--r--budget/templates/layout.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/budget/templates/layout.html b/budget/templates/layout.html
index 988ee58..d1b63a9 100644
--- a/budget/templates/layout.html
+++ b/budget/templates/layout.html
@@ -50,10 +50,17 @@
</ul>
<ul class="nav secondary-nav">
<li class="menu">
- <a href="#" class="menu">Options</a>
+ <a href="#" class="menu"><strong>{{ g.project.name }}</strong> options</a>
<ul class="menu-dropdown" style="display: none; ">
<li><a href="">Project settings</a></li>
<li class="divider"></li>
+ {% for id, name in session['projects'] %}
+ {% if id != g.project.id %}
+ <li><a href="{{ url_for("list_bills", project_id=id) }}">switch to {{ name }}</a></li>
+ {% endif %}
+ {% endfor %}
+ <li><a href="{{ url_for("create_project") }}">Start a new project</a></li>
+ <li class="divider"></li>
<li><a href="{{ url_for("exit") }}">Logout</a></li>
</ul>
</li>