aboutsummaryrefslogtreecommitdiff
path: root/budget/templates
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates')
-rw-r--r--budget/templates/home.html2
-rw-r--r--budget/templates/layout.html9
2 files changed, 9 insertions, 2 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html
index be4d9cd..7cead45 100644
--- a/budget/templates/home.html
+++ b/budget/templates/home.html
@@ -7,7 +7,7 @@
{% block content %}
<h2>Welcome on your budget manager</h2>
-<p>You're sharing a house, are going on holidays with friends or are simply sharing money with others, we can help!</p>
+<p>You're sharing a house? are going on holidays with friends? are simply sharing money with others? We can help!</p>
<div class="row">
<div class="span8 columns">
<form action="{{ url_for('authenticate') }}" method="post">
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>