client
Last change
on this file since 193dfcd was
f114f8b,
checked in by Alex Dehnert <adehnert@…>, 15 years ago
|
Color-code approval state and link email addresses
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | {% extends "base.html" %} |
---|
2 | {% load misc %} |
---|
3 | |
---|
4 | {% block title %}List reimbursement requests{% endblock %} |
---|
5 | {% block content %} |
---|
6 | |
---|
7 | <h2>List Reimbursement Requests</h2> |
---|
8 | |
---|
9 | <table class='pretty-table'> |
---|
10 | <tr> |
---|
11 | <th>#</th> |
---|
12 | <th>Name</th> |
---|
13 | <th>Amount</th> |
---|
14 | <th>Check to</th> |
---|
15 | <th>Accounts</th> |
---|
16 | <th>Approval state (date)</th> |
---|
17 | </tr> |
---|
18 | |
---|
19 | {% for object in object_list %} |
---|
20 | <tr> |
---|
21 | <td><a href='{% url review_request object.pk %}'>{{ object.pk }}</a></td> |
---|
22 | <td><a href='{% url review_request object.pk %}'>{{ object.name }}</a></td> |
---|
23 | <td>${{ object.amount }}</td> |
---|
24 | <td> |
---|
25 | {{ object.check_to_first_name }} {{ object.check_to_last_name }}<br /> |
---|
26 | <a href='mailto:{{ object.check_to_email }}'>{{ object.check_to_email }}</a><br /> |
---|
27 | (Submitter {{ object.submitter }}) |
---|
28 | </td> |
---|
29 | <td> |
---|
30 | Term: {{ object.budget_term }}<br /> |
---|
31 | Budget: {{ object.budget_area|budgetarea_pathstr:3 }}<br /> |
---|
32 | GL: {{ object.expense_area|budgetarea_pathstr:2 }} |
---|
33 | </td> |
---|
34 | <td class='request-status-{{ object.approval_status|approval_status_class}}'> |
---|
35 | {{ object.approval_status|approval_status }} ({{ object.approval_time }}) |
---|
36 | </td> |
---|
37 | </tr> |
---|
38 | {% endfor %} |
---|
39 | </table> |
---|
40 | |
---|
41 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.