client
Last change
on this file since 09b7c26 was
0f53aae,
checked in by Alex Dehnert <adehnert@…>, 15 years ago
|
Generally improve user account display
When testing, it can be painful to figure out why you can't access pages
because there's no good way to log out or see what account you're using.
This tries to change that, in a way that can also be vaguely useful for
normal users.
|
-
Property mode set to
100644
|
File size:
753 bytes
|
Line | |
---|
1 | {% extends "base.html" %} |
---|
2 | |
---|
3 | {% block title %}Welcome to Remit{% endblock %} |
---|
4 | {% block content %} |
---|
5 | |
---|
6 | <h2>Welcome to Remit</h2> |
---|
7 | |
---|
8 | <p> |
---|
9 | Remit is software that aims to help MIT student group manage their finances. |
---|
10 | </p> |
---|
11 | |
---|
12 | <ul> |
---|
13 | {% if user.is_anonymous %} |
---|
14 | <li><a href='{% url login %}'>Login</a></li> |
---|
15 | {% endif %} |
---|
16 | <li><a href="{% url request_reimbursement %}">Request reimbursement</a></li> |
---|
17 | {% if perms.vouchers.can_list %} |
---|
18 | <li><a href="{% url list_requests %}">List requests</a></li> |
---|
19 | {% endif %} |
---|
20 | {% if perms.finance_core.use_reporting %} |
---|
21 | <li><a href="{% url reporting %}">Reporting</a></li> |
---|
22 | {% endif %} |
---|
23 | {% if user.is_authenticated %} |
---|
24 | <li><a href='{% url logout %}'>Logout</a></li> |
---|
25 | {% endif %} |
---|
26 | </ul> |
---|
27 | |
---|
28 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.