diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-21 02:37:15 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-21 02:37:15 +0200 |
| commit | a6825cdcb73421a0443b14130c89e2cc545a2ab9 (patch) | |
| tree | ac4439a2033724ed5d04de8c876fe6671df4d73b /budget | |
| parent | 03bb52f4c1ac22367b9a4f30604950c6666f5fd4 (diff) | |
| download | ihatemoney-mirror-a6825cdcb73421a0443b14130c89e2cc545a2ab9.zip ihatemoney-mirror-a6825cdcb73421a0443b14130c89e2cc545a2ab9.tar.gz ihatemoney-mirror-a6825cdcb73421a0443b14130c89e2cc545a2ab9.tar.bz2 | |
styling & usability
Diffstat (limited to 'budget')
| -rw-r--r-- | budget/templates/home.html | 2 | ||||
| -rw-r--r-- | budget/templates/layout.html | 9 |
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> |
