Changeset ecf87c8 for asadb/template


Ignore:
Timestamp:
Jun 5, 2013, 5:53:11 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, stable, stage
Children:
17c118f
Parents:
242566d (diff), 72a3d90 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Alex Dehnert <adehnert@…> (06/05/13 05:53:05)
git-committer:
Alex Dehnert <adehnert@…> (06/05/13 05:53:11)
Message:

Merge branch 'space-access'

This branch was created to fix ASA-#96 ("Differentiate between spaces CAC does
and does not manage access to"), but also fixes a wide variety of other
space-related issues.

  • space-access: (23 commits) Fill in the office access timeframe Fix grammar ({e,a}ffect) Punt another spurious slash Use "Space Access" more consistently Add "Details" link to "Space access" page Rename 50-030 to 50-032 and set its lock type Space: tell groups CAC should reply (ASA-#235) Warn people off the "Space access" page (ASA-#233) Don't let people edit spaces the DB doesn't manage More Walker rooms Correct Walker room access Add info_url to the admin Incorporate feedback from CAC Update the space emails with non-DB-managed info Comment space/diffs.py's locker code a bit better Show lock types on manage access page Describe the lock types and list on space summary Add list of lock types and assign them to rooms Use pagename "groups", not "group" WIP: more non-CAC space work ...
Location:
asadb/template
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/index.html

    r870992c r3c1b20b  
    5858    </ul></li>
    5959    <li><a href='{% url space-summary %}'>Space assignments</a>
     60        <ul>
     61        <li><a href='{% url space-lock-type %}'>Lock Types</a></li>
    6062        {% if perms.groups.view_group_private_info %}
    61         <ul>
    6263        <li><a href='{% url space-dump-locker-access %}'>Locker access (CSV)</a></li>
    6364        <li><a href='{% url space-dump-office-access %}'>Office access (CSV)</a></li>
     65        {% endif %}
    6466        </ul>
    65         {% endif %}
    6667    </li>
    6768    <li><a href='{% url about %}'>About the ASA Database</a><ul>
  • asadb/template/space/group-change-email.txt

    rd768e47 r72a3d90  
    11{% autoescape off %}Hi {{group.name}},
    2     Thank you for updating space access on the ASA database today. We've forwarded the following changes on to CAC:
     2
     3Thank you for updating space access on the ASA database today. We are forwarding these changes to CAC, which generally updates access within one week. They will reply when the update has been done; if you don't get a reply, the message may have been lost and you should reply-all to this email reminding them.
     4
     5We believe you made the following changes:
    36
    47{% if office_msg %}
  • asadb/template/space/manage-access.html

    r78de8cb r1927d79  
    11{% extends "base.html" %}
    22
    3 {% block title %}{{group.name}}: Office Access{% endblock %}
     3{% block title %}{{group.name}}: Space Access{% endblock %}
    44{% block content %}
    55
    6 <h1>{{group.name}}: Office Access</h1>
     6<h1>{{group.name}}: Space Access</h1>
    77
    88{% include "groups/group_tools.part.html" %}
     
    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}}{% if lock_type.info_url %} <a href='{{lock_type.info_url}}'>Details.</a>{%endif%}</p>
     54        <p>Contact <a href='mailto:{{lock_type.info_addr}}'>{{lock_type.info_addr}}</a> for more information.</p>
     55
     56        {% else %}
     57
     58        <p>We recommend managing access on the <a href='{% url groups:group-manage-officers group.id %}'>update people</a> page if possible. You should only need to use this page if:</p>
     59        <ul>
     60            <li>You need to grant access to somebody who does not have an Athena account, or</li>
     61            <li>Your group has several offices, and somebody needs access to one or more of the offices, but should not have access to all of them</li>
     62        </ul>
     63
    5064        <table class='pretty-table'>
    5165            <tr>
     
    6781            </tr>{% endfor %}
    6882        </table>
     83
     84        {% endif %}
     85        {% endwith %}
     86
    6987    </td>
    7088</tr>
  • asadb/template/space/summary.html

    rde2f0ac rf6982d4  
    2727    <th>Room</th>
    2828    <th>Group</th>
     29    <th><a href='{% url space-lock-type %}'>Lock Type</a></th>
    2930    <th>Access</th>
    3031</tr>
     
    3334    <td>{{office.space.number}}</td>
    3435    <td><a href='{% url groups:group-detail office.group.pk %}'>{{office.group}}</a></td>
     36    <td>{{office.space.lock_type.name}}</td>
    3537    <td><a href='{% url groups:group-space-access office.group.pk %}'>Access</a></td>
    3638</tr>
  • asadb/template/groups/account_lookup.html

    rcfde3dc r9469a73  
    4141</tr>
    4242</table>
     43{% endif %}
     44
     45{% if account_number %}
     46<p>You may be able to find information about account {{account_number}} in <a href='https://rolesweb.mit.edu/cgi-bin/roleauth2.pl?category=SAP+SAP-related&amp;func_name=CAN+SPEND+OR+COMMIT+FUNDS&amp;qual_code=F{{account_number}}&amp;skip_root=Y'>Roles</a>.</p>
    4347{% endif %}
    4448
  • asadb/template/groups/diffs/new-group-announce.txt

    r798ec5b rf38b6d0  
    55to the MIT community!
    66
    7 The last step to finalize the group recognition is for you to finish entering the
    8 group's complete information into the ASA Database:
     7Your group is currently *suspended*. The last step to finalize the group
     8recognition is for you to finish entering the group's complete information into
     9the ASA Database:
    910
    1011      http://web.mit.edu/asa/www/asa-db.shtml
     
    2930can modify the information and that MIT personal certificates are
    3031required to access the group's account in the ASA Database.
     32
     33Once you have completed these steps, you must *notify asa-groups@mit.edu* to
     34become an active group.
    3135
    3236*** Please keep this e-mail for further reference. ***
Note: See TracChangeset for help on using the changeset viewer.