Changeset 6ee51c2 for asadb


Ignore:
Timestamp:
Jun 2, 2013, 7:13:56 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
e1d5c05
Parents:
9358747
git-author:
Alex Dehnert <adehnert@…> (06/02/13 19:13:56)
git-committer:
Alex Dehnert <adehnert@…> (06/02/13 19:13:56)
Message:

Don't let people edit spaces the DB doesn't manage

Previously, this branch simply displayed a warning above Walker spaces, but
still allowed changing the access list. That seems a bit silly, so now we don't
display the access list update field at all.

The only group that had used the field for a Walker office is Camp Kesem
(https://asa.mit.edu/groups/1291/space/), so I also expired and notified the
people that they'd tried to grant access to.

File:
1 edited

Legend:

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

    r1484698 r6ee51c2  
    5353        <p><em><a href='{% url space-lock-type %}'>{{lock_type.name}}</a></em>: {{lock_type.description}}</p>
    5454        <p>Contact <a href='mailto:{{lock_type.info_addr}}'>{{lock_type.info_addr}}</a> for more information.</p>
    55         {% endif %}
    56         {% endwith %}
     55
     56        {% else %}
    5757
    5858        <table class='pretty-table'>
     
    7575            </tr>{% endfor %}
    7676        </table>
     77
     78        {% endif %}
     79        {% endwith %}
     80
    7781    </td>
    7882</tr>
Note: See TracChangeset for help on using the changeset viewer.