Changeset 1484698


Ignore:
Timestamp:
Jan 29, 2013, 8:26:00 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
492251a
Parents:
f6982d4
git-author:
Alex Dehnert <adehnert@…> (01/29/13 20:24:40)
git-committer:
Alex Dehnert <adehnert@…> (01/29/13 20:26:00)
Message:

Show lock types on manage access page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/space/manage-access.html

    r78de8cb r1484698  
    4848    <th>{{assignment.space}}</th>
    4949    <td>
     50        {% with assignment.space.lock_type as lock_type %}
     51        {% if lock_type.db_update == "none" %}
     52        <p><strong>Warning: Access to this office is not managed through the ASA DB.</strong></p>
     53        <p><em><a href='{% url space-lock-type %}'>{{lock_type.name}}</a></em>: {{lock_type.description}}</p>
     54        <p>Contact <a href='mailto:{{lock_type.info_addr}}'>{{lock_type.info_addr}}</a> for more information.</p>
     55        {% endif %}
     56        {% endwith %}
     57
    5058        <table class='pretty-table'>
    5159            <tr>
Note: See TracChangeset for help on using the changeset viewer.