Ignore:
Timestamp:
Jun 1, 2010, 4:21:53 AM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
71ca9e6
Parents:
e1086bd
git-author:
Alex Dehnert <adehnert@…> (06/01/10 04:13:06)
git-committer:
Alex Dehnert <adehnert@…> (06/01/10 04:21:53)
Message:

Add links to the admin site (Trac: #34)

Location:
remit/remit_templates
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • remit/remit_templates/base.html

    r6e43384 r0671644  
    1717        <li{% ifequal pagename "reporting" %} class='selected'{% endifequal %}><a href="{% url reporting %}">Reporting</a></li>
    1818        {% endif %}
     19        {% if user.is_staff %}
     20        <li><a href='{% url admin:index %}'>Django Admin</a></li>
     21        {% endif %}
    1922    </ul>
    2023    <div id='content'>
  • remit/remit_templates/index.html

    r6e43384 r0671644  
    1919    <li><a href="{% url reporting %}">Reporting</a></li>
    2020    {% endif %}
     21    {% if user.is_staff %}
     22    <li><a href='{% url admin:index %}'>Django admin interface</a></li>
     23    {% endif %}
    2124    {% if user.is_authenticated %}
    2225    <li><a href='{% url logout %}'>Logout</a></li>
  • remit/remit_templates/vouchers/ReimbursementRequest_review.html

    r82211ea r0671644  
    118118<p>{{ approve_message }}</p>
    119119{% else %}
     120{% if perms.vouchers.edit_reimbursementrequest %}
     121<p>Optionally, <a href='{% url admin:vouchers_reimbursementrequest_change rr.pk %}'>change this request first</a>.</p>
     122{% endif %}
    120123<form method="post" action="">
    121124<table class='pretty-table'>
Note: See TracChangeset for help on using the changeset viewer.